Lines Matching refs:GeneratorState
38 inline bool isCurrentTopStatementBlock (const GeneratorState& state)
44 template <class T> float getWeight (const GeneratorState& state) { return T::getWeight(state); }
45 template <class T> Statement* create (GeneratorState& state) { return new T(state); }
49 float (*getWeight) (const GeneratorState& state);
50 Statement* (*create) (GeneratorState& state);
53 const StatementSpec* chooseStatement (GeneratorState& state)
101 Statement* createStatement (GeneratorState& state)
116 ExpressionStatement::ExpressionStatement (GeneratorState& state)
128 float ExpressionStatement::getWeight (const GeneratorState& state)
139 BlockStatement::BlockStatement (GeneratorState& state)
144 void BlockStatement::init (GeneratorState& state)
173 Statement* BlockStatement::createNextChild (GeneratorState& state)
190 float BlockStatement::getWeight (const GeneratorState& state)
203 void BlockStatement::tokenize (GeneratorState& state, TokenStream& str) const
219 void ExpressionStatement::tokenize (GeneratorState& state, TokenStream& str) const
247 DeclarationStatement::DeclarationStatement (GeneratorState& state, Variable* variable)
321 float DeclarationStatement::getWeight (const GeneratorState& state)
332 void DeclarationStatement::tokenize (GeneratorState& state, TokenStream& str) const
354 ConditionalStatement::ConditionalStatement (GeneratorState&)
368 bool ConditionalStatement::isElseBlockRequired (const GeneratorState& state) const
393 Statement* ConditionalStatement::createNextChild (GeneratorState& state)
455 void ConditionalStatement::tokenize (GeneratorState& state, TokenStream& str) const
526 float ConditionalStatement::getWeight (const GeneratorState& state)
541 AssignStatement::AssignStatement (GeneratorState& state, const Variable* variable, ConstValueRangeAccess valueRange)
555 void AssignStatement::tokenize (GeneratorState& state, TokenStream& str) const