Lines Matching refs:GeneratorState
38 inline bool isCurrentTopStatementBlock (const GeneratorState& state) in isCurrentTopStatementBlock()
44 template <class T> float getWeight (const GeneratorState& state) { return T::getWeight(state); } in getWeight()
45 template <class T> Statement* create (GeneratorState& state) { return new T(state); } in create()
49 float (*getWeight) (const GeneratorState& state);
50 Statement* (*create) (GeneratorState& state);
53 const StatementSpec* chooseStatement (GeneratorState& state) in chooseStatement()
101 Statement* createStatement (GeneratorState& state) in createStatement()
116 ExpressionStatement::ExpressionStatement (GeneratorState& state) in ExpressionStatement()
128 float ExpressionStatement::getWeight (const GeneratorState& state) in getWeight()
139 BlockStatement::BlockStatement (GeneratorState& state) in BlockStatement()
144 void BlockStatement::init (GeneratorState& state) in init()
173 Statement* BlockStatement::createNextChild (GeneratorState& state) in createNextChild()
190 float BlockStatement::getWeight (const GeneratorState& state) in getWeight()
203 void BlockStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
219 void ExpressionStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
247 DeclarationStatement::DeclarationStatement (GeneratorState& state, Variable* variable) in DeclarationStatement()
322 float DeclarationStatement::getWeight (const GeneratorState& state) in getWeight()
333 void DeclarationStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
355 ConditionalStatement::ConditionalStatement (GeneratorState&) in ConditionalStatement() argument
369 bool ConditionalStatement::isElseBlockRequired (const GeneratorState& state) const in isElseBlockRequired()
394 Statement* ConditionalStatement::createNextChild (GeneratorState& state) in createNextChild()
456 void ConditionalStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
527 float ConditionalStatement::getWeight (const GeneratorState& state) in getWeight()
542 AssignStatement::AssignStatement (GeneratorState& state, const Variable* variable, ConstValueRangeA… in AssignStatement()
556 void AssignStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()