22 #ifndef UTAP_STATEMENTBUILDER_H 23 #define UTAP_STATEMENTBUILDER_H 76 void declVar(
const char* name,
bool init)
override;
96 void ifEnd(
bool)
override;
void typeArrayOfSize(size_t) override
Called to create an array type.
void declFuncEnd() override
void declInitialiserList(uint32_t num) override
std::vector< std::string > labels
The labels of a struct.
std::vector< type_t > fields
The types of a struct.
void declTypeDef(const char *name) override
A type definition.
void iterationBegin(const char *name) override
void ifCondition() override
void declParameter(const char *name, bool) override
void iterationEnd(const char *name) override
void typeArrayOfType(size_t) override
Called to create an array type.
Partial implementation of the builder interface, useful for building something with statements that i...
Partial implementation of the builder interface: The ExpressionBuilder implements all expression rela...
StatementBuilder(TimedAutomataSystem *)
void returnStatement(bool) override
Base type for variables, clocks, etc.
function_t * currentFun
The function currently being parsed.
void blockBegin() override
void whileBegin() override
void emptyStatement() override
static void collectDependencies(std::set< symbol_t > &, expression_t)
void exprStatement() override
void structField(const char *name) override
Used to declare the fields of a structure.
frame_t params
The params frame is used temporarily during parameter parsing.
void declFieldInit(const char *name) override
virtual bool addFunction(type_t type, const char *name)=0
void ifEnd(bool) override
A reference to an expression.
Information about a function.
void typeStruct(PREFIX, uint32_t fields) override
Used to construct a new struct type, which is then pushed onto the type stack.
void declFuncBegin(const char *name) override
void assertStatement() override
std::vector< BlockStatement * > blocks
Stack of nested statement blocks.
void doWhileBegin() override
void exprCallBegin() override
virtual variable_t * addVariable(type_t type, const char *name, expression_t init)=0
void doWhileEnd() override
void declVar(const char *name, bool init) override
Declare a new variable of the given name.