#include <abstractbuilder.h>
Inheritance diagram for UTAP::AbstractBuilder:
Public Member Functions | |
AbstractBuilder () | |
virtual void | setPosition (uint32_t, uint32_t) |
Sets the current position. | |
virtual bool | isType (const char *) |
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. | |
virtual bool | isLocation (const char *) |
virtual void | typeDuplicate () |
Duplicate type at the top of the type stack. | |
virtual void | typePop () |
Pop type at the topof the type stack. | |
virtual void | typeBool (PREFIX) |
Called whenever a boolean type is parsed. | |
virtual void | typeInt (PREFIX) |
Called whenever an integer type is parsed. | |
virtual void | typeBoundedInt (PREFIX) |
Called whenever an integer type with a range is parsed. | |
virtual void | typeChannel (PREFIX) |
Called whenever a channel type is parsed. | |
virtual void | typeClock () |
Called whenever a clock type is parsed. | |
virtual void | typeVoid () |
Called whenever a void type is parsed. | |
virtual void | typeScalar (PREFIX) |
Called whenever a scalar type is parsed. | |
virtual void | typeName (PREFIX, const char *name) |
Called when a type name has been parsed. | |
virtual void | typeStruct (PREFIX, uint32_t fields) |
Called when a struct-type has been parsed. | |
virtual void | typeArrayOfSize (size_t) |
Called to create an array type. | |
virtual void | typeArrayOfType (size_t) |
Called to create an array type. | |
virtual void | structField (const char *name) |
Called to declare a field of a structure. | |
virtual void | declTypeDef (const char *name) |
Used when a typedef declaration was parsed. | |
virtual void | declVar (const char *name, bool init) |
Called to when a variable declaration has been parsed. | |
virtual void | declInitialiserList (uint32_t num) |
virtual void | declFieldInit (const char *name) |
virtual void | declProgress (bool) |
Guard progress measure declaration. | |
virtual void | declParameter (const char *name, bool) |
virtual void | declFuncBegin (const char *name) |
virtual void | declFuncEnd () |
virtual void | procBegin (const char *name) |
virtual void | procEnd () |
virtual void | procState (const char *name, bool hasInvariant) |
virtual void | procStateCommit (const char *name) |
virtual void | procStateUrgent (const char *name) |
virtual void | procStateWinning (const char *name) |
virtual void | procStateLosing (const char *name) |
virtual void | procStateInit (const char *name) |
virtual void | procEdgeBegin (const char *from, const char *to, const bool control) |
virtual void | procEdgeEnd (const char *from, const char *to) |
virtual void | procSelect (const char *id) |
virtual void | procGuard () |
virtual void | procSync (Constants::synchronisation_t type) |
virtual void | procUpdate () |
virtual void | blockBegin () |
virtual void | blockEnd () |
virtual void | emptyStatement () |
virtual void | forBegin () |
virtual void | forEnd () |
virtual void | iterationBegin (const char *name) |
virtual void | iterationEnd (const char *name) |
virtual void | whileBegin () |
virtual void | whileEnd () |
virtual void | doWhileBegin () |
virtual void | doWhileEnd () |
virtual void | ifBegin () |
virtual void | ifElse () |
virtual void | ifEnd (bool) |
virtual void | breakStatement () |
virtual void | continueStatement () |
virtual void | switchBegin () |
virtual void | switchEnd () |
virtual void | caseBegin () |
virtual void | caseEnd () |
virtual void | defaultBegin () |
virtual void | defaultEnd () |
virtual void | exprStatement () |
virtual void | returnStatement (bool) |
virtual void | exprTrue () |
virtual void | exprFalse () |
virtual void | exprId (const char *varName) |
virtual void | exprNat (int32_t) |
virtual void | exprCallBegin () |
virtual void | exprCallEnd (uint32_t n) |
virtual void | exprArray () |
virtual void | exprPostIncrement () |
virtual void | exprPreIncrement () |
virtual void | exprPostDecrement () |
virtual void | exprPreDecrement () |
virtual void | exprAssignment (Constants::kind_t op) |
virtual void | exprUnary (Constants::kind_t unaryop) |
virtual void | exprBinary (Constants::kind_t binaryop) |
virtual void | exprInlineIf () |
virtual void | exprComma () |
virtual void | exprDot (const char *) |
virtual void | exprDeadlock () |
virtual void | exprForAllBegin (const char *name) |
virtual void | exprForAllEnd (const char *name) |
virtual void | exprExistsBegin (const char *name) |
virtual void | exprExistsEnd (const char *name) |
virtual void | instantiationBegin (const char *, size_t, const char *) |
virtual void | instantiationEnd (const char *, size_t, const char *, size_t) |
virtual void | process (const char *) |
virtual void | done () |
virtual void | property (Constants::kind_t) |
virtual void | beforeUpdate () |
virtual void | afterUpdate () |
virtual void | incProcPriority () |
virtual void | incChanPriority () |
virtual void | chanPriority () |
virtual void | procPriority (const char *) |
virtual void | defaultChanPriority () |
Protected Attributes | |
position_t | position |
|
|
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Guard progress measure declaration. Requires two expressions if hasGuard is true, otherwise one. Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Used when a typedef declaration was parsed. name is the name of the new type. Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Called to when a variable declaration has been parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Reimplemented in UTAP::ExpressionBuilder. |
|
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.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Sets the current position. The current position indicates where in the input file the current productions can be found. Implements UTAP::ParserBuilder. |
|
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. Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Implements UTAP::ParserBuilder. |
|
Called to create an array type. The size of the array was previously pushed as an expression. Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Called to create an array type. The size of the array was previously pushed as a type. Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Called whenever a boolean type is parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Called whenever an integer type with a range is parsed. Expressions for the lower and upper have been pushed before. Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Called whenever a channel type is parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Called whenever a clock type is parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Duplicate type at the top of the type stack.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder. |
|
Called whenever an integer type is parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Called when a type name has been parsed. Prefix indicates whether the type named was prefixed (e.g. with 'const'). Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Pop type at the topof the type stack.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder. |
|
Called whenever a scalar type is parsed. The size of the scalar set was pushed as an expression before. Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Called when a struct-type has been parsed. Prior to the call 'fields' fields must have been declared using the structXXX methods. Implements UTAP::ParserBuilder. Reimplemented in UTAP::SystemBuilder. |
|
Called whenever a void type is parsed.
Implements UTAP::ParserBuilder. Reimplemented in UTAP::ExpressionBuilder, and UTAP::PrettyPrinter. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
Implements UTAP::ParserBuilder. Reimplemented in UTAP::PrettyPrinter, and UTAP::SystemBuilder. |
|
|