libutap
0.93
Uppaal Timed Automata Parser
|
The ParserBuilder interface is used by the parser to output the parsed system. More...
#include <builder.h>
Public Types | |
enum | PREFIX { PREFIX_NONE = 0, PREFIX_CONST = 1, PREFIX_URGENT = 2, PREFIX_BROADCAST = 4, PREFIX_URGENT_BROADCAST = 6, PREFIX_SYSTEM_META = 8, PREFIX_HYBRID = 16 } |
Public Member Functions | |
virtual | ~ParserBuilder () |
virtual void | addPosition (uint32_t position, uint32_t offset, uint32_t line, const std::string &path)=0 |
Add mapping from an absolute position to a relative XML element. More... | |
virtual void | setPosition (uint32_t a, uint32_t b)=0 |
Sets the current position. More... | |
virtual void | handleError (const std::string &)=0 |
virtual void | handleWarning (const std::string &)=0 |
void | handleWarning (const char *msg,...) |
void | handleError (const char *msg,...) |
virtual bool | isType (const char *)=0 |
Must return true if and only if name is registered in the symbol table as a named type, for instance, "int" or "bool" or a user defined type. More... | |
virtual void | typeDuplicate ()=0 |
Duplicate type at the top of the type stack. More... | |
virtual void | typePop ()=0 |
Pop type at the topof the type stack. More... | |
virtual void | typeBool (PREFIX)=0 |
Called whenever a boolean type is parsed. More... | |
virtual void | typeInt (PREFIX)=0 |
Called whenever an integer type is parsed. More... | |
virtual void | typeDouble (PREFIX)=0 |
Called whenever a double type is parsed. More... | |
virtual void | typeBoundedInt (PREFIX)=0 |
Called whenever an integer type with a range is parsed. More... | |
virtual void | typeChannel (PREFIX)=0 |
Called whenever a channel type is parsed. More... | |
virtual void | typeClock (PREFIX)=0 |
Called whenever a clock type is parsed. More... | |
virtual void | typeVoid ()=0 |
Called whenever a void type is parsed. More... | |
virtual void | typeArrayOfSize (size_t)=0 |
Called to create an array type. More... | |
virtual void | typeArrayOfType (size_t)=0 |
Called to create an array type. More... | |
virtual void | typeScalar (PREFIX)=0 |
Called whenever a scalar type is parsed. More... | |
virtual void | typeName (PREFIX, const char *name)=0 |
Called when a type name has been parsed. More... | |
virtual void | typeStruct (PREFIX, uint32_t fields)=0 |
Called when a struct-type has been parsed. More... | |
virtual void | structField (const char *name)=0 |
Called to declare a field of a structure. More... | |
virtual void | declTypeDef (const char *name)=0 |
Used when a typedef declaration was parsed. More... | |
virtual void | declVar (const char *name, bool init)=0 |
Called to when a variable declaration has been parsed. More... | |
virtual void | declInitialiserList (uint32_t num)=0 |
virtual void | declFieldInit (const char *name)=0 |
virtual void | declProgress (bool hasGuard)=0 |
Guard progress measure declaration. More... | |
virtual void | ganttDeclStart (const char *name)=0 |
virtual void | ganttDeclSelect (const char *id)=0 |
virtual void | ganttDeclEnd ()=0 |
virtual void | ganttEntryStart ()=0 |
virtual void | ganttEntrySelect (const char *id)=0 |
virtual void | ganttEntryEnd ()=0 |
virtual void | declParameter (const char *name, bool ref)=0 |
virtual void | declFuncBegin (const char *name)=0 |
virtual void | declFuncEnd ()=0 |
virtual void | procBegin (const char *name, const bool isTA=true, const std::string type="", const std::string mode="")=0 |
virtual void | procEnd ()=0 |
virtual void | procState (const char *name, bool hasInvariant, bool hasER)=0 |
virtual void | procStateCommit (const char *name)=0 |
virtual void | procStateUrgent (const char *name)=0 |
virtual void | procStateInit (const char *name)=0 |
virtual void | procEdgeBegin (const char *from, const char *to, const bool control, const char *actname="")=0 |
virtual void | procEdgeEnd (const char *from, const char *to)=0 |
virtual void | procSelect (const char *id)=0 |
virtual void | procGuard ()=0 |
virtual void | procSync (Constants::synchronisation_t type)=0 |
virtual void | procUpdate ()=0 |
virtual void | procProb ()=0 |
virtual void | procBranchpoint (const char *name)=0 |
virtual void | procInstanceLine ()=0 |
virtual void | instanceName (const char *name, bool templ=true)=0 |
virtual void | instanceNameBegin (const char *name)=0 |
virtual void | instanceNameEnd (const char *name, size_t arguments)=0 |
virtual void | procMessage (const char *from, const char *to, const int loc, const bool pch)=0 |
virtual void | procMessage (Constants::synchronisation_t type)=0 |
virtual void | procCondition (const std::vector< char *> anchors, const int loc, const bool pch, const bool hot)=0 |
virtual void | procCondition ()=0 |
virtual void | procLscUpdate (const char *anchor, const int loc, const bool pch)=0 |
virtual void | procLscUpdate ()=0 |
virtual void | hasPrechart (const bool pch)=0 |
virtual void | blockBegin ()=0 |
virtual void | blockEnd ()=0 |
virtual void | emptyStatement ()=0 |
virtual void | forBegin ()=0 |
virtual void | forEnd ()=0 |
virtual void | iterationBegin (const char *name)=0 |
virtual void | iterationEnd (const char *name)=0 |
virtual void | whileBegin ()=0 |
virtual void | whileEnd ()=0 |
virtual void | doWhileBegin ()=0 |
virtual void | doWhileEnd ()=0 |
virtual void | ifBegin ()=0 |
virtual void | ifCondition ()=0 |
virtual void | ifThen ()=0 |
virtual void | ifEnd (bool elsePart)=0 |
virtual void | breakStatement ()=0 |
virtual void | continueStatement ()=0 |
virtual void | switchBegin ()=0 |
virtual void | switchEnd ()=0 |
virtual void | caseBegin ()=0 |
virtual void | caseEnd ()=0 |
virtual void | defaultBegin ()=0 |
virtual void | defaultEnd ()=0 |
virtual void | exprStatement ()=0 |
virtual void | returnStatement (bool)=0 |
virtual void | assertStatement ()=0 |
virtual void | exprFalse ()=0 |
virtual void | exprTrue ()=0 |
virtual void | exprDouble (double)=0 |
virtual void | exprId (const char *varName)=0 |
virtual void | exprNat (int32_t)=0 |
virtual void | exprCallBegin ()=0 |
virtual void | exprCallEnd (uint32_t n)=0 |
virtual void | exprArray ()=0 |
virtual void | exprPostIncrement ()=0 |
virtual void | exprPreIncrement ()=0 |
virtual void | exprPostDecrement ()=0 |
virtual void | exprPreDecrement ()=0 |
virtual void | exprAssignment (Constants::kind_t op)=0 |
virtual void | exprUnary (Constants::kind_t unaryop)=0 |
virtual void | exprBinary (Constants::kind_t binaryop)=0 |
virtual void | exprNary (Constants::kind_t, uint32_t num)=0 |
virtual void | exprScenario (const char *name)=0 |
virtual void | exprTernary (Constants::kind_t ternaryop, bool firstMissing=false)=0 |
virtual void | exprInlineIf ()=0 |
virtual void | exprComma ()=0 |
virtual void | exprDot (const char *)=0 |
virtual void | exprDeadlock ()=0 |
virtual void | exprForAllBegin (const char *name)=0 |
virtual void | exprForAllEnd (const char *name)=0 |
virtual void | exprExistsBegin (const char *name)=0 |
virtual void | exprExistsEnd (const char *name)=0 |
virtual void | exprSumBegin (const char *name)=0 |
virtual void | exprSumEnd (const char *name)=0 |
virtual void | exprSync (Constants::synchronisation_t type)=0 |
virtual void | declIO (const char *, int, int)=0 |
virtual void | exprSMCControl ()=0 |
virtual void | exprProbaQualitative (Constants::kind_t pathQuant, Constants::kind_t compType, double probBound)=0 |
virtual void | exprProbaQuantitative (Constants::kind_t pathQuant)=0 |
virtual void | exprProbaCompare (Constants::kind_t pathQuant1, Constants::kind_t pathQuant2)=0 |
virtual void | exprProbaExpected (const char *aggregatingOp)=0 |
virtual void | exprBuiltinFunction1 (Constants::kind_t)=0 |
virtual void | exprBuiltinFunction2 (Constants::kind_t)=0 |
virtual void | exprBuiltinFunction3 (Constants::kind_t)=0 |
virtual void | exprMitlFormula ()=0 |
virtual void | exprMitlUntil (int, int)=0 |
virtual void | exprMitlRelease (int, int)=0 |
virtual void | exprMitlDisj ()=0 |
virtual void | exprMitlConj ()=0 |
virtual void | exprMitlNext ()=0 |
virtual void | exprMitlAtom ()=0 |
virtual void | exprMitlDiamond (int, int)=0 |
virtual void | exprMitlBox (int, int)=0 |
virtual void | exprSimulate (int, bool=false, int=0)=0 |
virtual void | instantiationBegin (const char *id, size_t parameters, const char *templ)=0 |
virtual void | instantiationEnd (const char *id, size_t parameters, const char *templ, size_t arguments)=0 |
virtual void | process (const char *)=0 |
virtual void | processListEnd ()=0 |
virtual void | done ()=0 |
virtual void | handleExpect (const char *text)=0 |
virtual void | property ()=0 |
virtual void | scenario (const char *)=0 |
virtual void | parse (const char *)=0 |
virtual void | beforeUpdate ()=0 |
virtual void | afterUpdate ()=0 |
virtual void | beginChanPriority ()=0 |
virtual void | addChanPriority (char separator)=0 |
virtual void | defaultChanPriority ()=0 |
virtual void | incProcPriority ()=0 |
virtual void | procPriority (const char *)=0 |
virtual void | declDynamicTemplate (const std::string &)=0 |
Dynamic. More... | |
virtual void | exprSpawn (int)=0 |
virtual void | exprExit ()=0 |
virtual void | exprNumOf ()=0 |
virtual void | exprForAllDynamicBegin (const char *, const char *)=0 |
virtual void | exprForAllDynamicEnd (const char *name)=0 |
virtual void | exprExistsDynamicBegin (const char *, const char *)=0 |
virtual void | exprExistsDynamicEnd (const char *name)=0 |
virtual void | exprSumDynamicBegin (const char *, const char *)=0 |
virtual void | exprSumDynamicEnd (const char *name)=0 |
virtual void | exprForeachDynamicBegin (const char *, const char *)=0 |
virtual void | exprForeachDynamicEnd (const char *name)=0 |
virtual void | exprMITLForAllDynamicBegin (const char *, const char *)=0 |
virtual void | exprMITLForAllDynamicEnd (const char *name)=0 |
virtual void | exprMITLExistsDynamicBegin (const char *, const char *)=0 |
virtual void | exprMITLExistsDynamicEnd (const char *name)=0 |
virtual void | exprDynamicProcessExpr (const char *)=0 |
virtual void | queryBegin ()=0 |
Verification queries. More... | |
virtual void | queryFormula (const char *formula, const char *location)=0 |
virtual void | queryComment (const char *comment)=0 |
virtual void | queryEnd ()=0 |
Public Attributes | |
std::vector< std::string > | lscTemplateNames |
The ParserBuilder interface is used by the parser to output the parsed system.
The parser itself will only parse the system - it will not actually store or otherwise process the input. Instead, the parser is configured with an implementation of the ParserBuilder interface. Productions in the BNF implemented by the parser correspond to methods in the ParserBuilder interface.
Errors (such as type errors) can be reported back to the parser by either throwing a TypeException or by calling an error method in the ErrorHandler that has been set by a call to setErrorHandler().
Expressions are reported in reverse polish notation using the exprXXX methods.
The proper protocol for declaring a new type name is to
The proper protocol for declaring a variable is to
|
inlinevirtual |
Definition at line 96 of file builder.h.
References comment, parseProperty(), parseXMLBuffer(), parseXMLFile(), and parseXTA().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Add mapping from an absolute position to a relative XML element.
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::PositionTracker::newline(), and UTAP::PositionTracker::setPath().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Dynamic.
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Guard progress measure declaration.
Requires two expressions if hasGuard is true, otherwise one.
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Used when a typedef declaration was parsed.
name is the name of the new type.
Implemented in UTAP::PrettyPrinter, UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Called to when a variable declaration has been parsed.
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::ExpressionBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::ExpressionBuilder::exprDot(), handleError(), UTAP::symbol(), and utap_error().
void ParserBuilder::handleError | ( | const char * | msg, |
... | |||
) |
Definition at line 45 of file abstractbuilder.cpp.
References handleError().
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter.
Referenced by handleWarning().
void ParserBuilder::handleWarning | ( | const char * | msg, |
... | |||
) |
Definition at line 34 of file abstractbuilder.cpp.
References handleWarning().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Must return true if and only if name is registered in the symbol table as a named type, for instance, "int" or "bool" or a user defined type.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, and UTAP::SystemBuilder.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::SystemBuilder, UTAP::AbstractBuilder, and UTAP::PrettyPrinter.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Verification queries.
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder.
Referenced by UTAP::symbol().
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Sets the current position.
The current position indicates where in the input file the current productions can be found.
Implemented in UTAP::AbstractBuilder.
Referenced by UTAP::PositionTracker::increment(), and utap_error().
|
pure virtual |
Called to declare a field of a structure.
The type of the field has been reported using a typeXXX method prior to the call of structField(). In case of array fields, 'dim' expressions indicating the array sizes have been reported.
Implemented in UTAP::PrettyPrinter, UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder.
|
pure virtual |
Called to create an array type.
The size of the array was previously pushed as an expression.
Implemented in UTAP::PrettyPrinter, UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Called to create an array type.
The size of the array was previously pushed as a type.
Implemented in UTAP::PrettyPrinter, UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Called whenever a boolean type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever an integer type with a range is parsed.
Expressions for the lower and upper have been pushed before.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever a channel type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever a clock type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever a double type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Duplicate type at the top of the type stack.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever an integer type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called when a type name has been parsed.
Prefix indicates whether the type named was prefixed (e.g. with 'const').
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Pop type at the topof the type stack.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called whenever a scalar type is parsed.
The size of the scalar set was pushed as an expression before.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Called when a struct-type has been parsed.
Prior to the call 'fields' fields must have been declared using the structXXX methods.
Implemented in UTAP::PrettyPrinter, UTAP::AbstractBuilder, and UTAP::StatementBuilder.
|
pure virtual |
Called whenever a void type is parsed.
Implemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::AbstractBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
|
pure virtual |
Implemented in UTAP::AbstractBuilder, UTAP::PrettyPrinter, and UTAP::StatementBuilder.
std::vector<std::string> UTAP::ParserBuilder::lscTemplateNames |
Definition at line 94 of file builder.h.
Referenced by UTAP::SystemBuilder::procBegin(), and UTAP::symbol().