souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
32 #include "parser/parser.hh"
74 std::set<RelationTag> tags);
89 void error(
const std::string& msg);
94 #define YY_DECL yy::parser::symbol_type yylex(souffle::ParserDriver& driver, yyscan_t yyscanner)
static Own< ast::TranslationUnit > parseTranslationUnit(const std::string &filename, FILE *in, ErrorReport &errorReport, DebugReport &debugReport)
std::set< RelationTag > addReprTag(RelationTag tag, SrcLocation tagLoc, std::set< RelationTag > tags)
virtual ~ParserDriver()=default
void addPragma(Own< ast::Pragma > p)
void addDirective(Own< ast::Directive > d)
void addFunctorDeclaration(Own< ast::FunctorDeclaration > f)
void addRelation(Own< ast::Relation > r)
Defines a relation with a name, attributes, qualifiers, and internal representation.
std::set< RelationTag > addDeprecatedTag(RelationTag tag, SrcLocation tagLoc, std::set< RelationTag > tags)
void addInstantiation(Own< ast::ComponentInit > ci)
void addType(Own< ast::Type > type)
Class representing a HTML report, consisting of a list of sections.
RelationTag
Space of user-chosen tags that a relation can have.
void addClause(Own< ast::Clause > c)
Own< ast::TranslationUnit > translationUnit
Own< ast::SubsetType > mkDeprecatedSubType(ast::QualifiedName name, ast::QualifiedName attr, SrcLocation loc)
std::set< RelationTag > addTag(RelationTag tag, SrcLocation tagLoc, std::set< RelationTag > tags)
Own< ast::TranslationUnit > parse(const std::string &filename, FILE *in, ErrorReport &errorReport, DebugReport &debugReport)
A class describing a range in an input file.
void addIoFromDeprecatedTag(ast::Relation &r)
void error(const SrcLocation &loc, const std::string &msg)
void addComponent(Own< ast::Component > c)
Qualified Name class defines fully/partially qualified names to identify objects in components.
void warning(const SrcLocation &loc, const std::string &msg)
a horizontalBars(j=m=void 0===a.axisX.type?new c.AutoScaleAxis(c.Axis.units.x, b.normalized.series, o, c.extend({}, a.axisX,{highLow:d, referenceValue:0})):a.axisX.type.call(c, c.Axis.units.x, b.normalized.series, o, c.extend({}, a.axisX,{highLow:d, referenceValue:0})), l=n=void 0===a.axisY.type?new c.StepAxis(c.Axis.units.y, b.normalized.series, o,{ticks:k}):a.axisY.type.call(c, c.Axis.units.y, b.normalized.series, o, a.axisY)) var p