static RuleBlock |
MakeGrammar.createNextTokenRule(Grammar g,
Vector lexRules,
java.lang.String rname) |
Used to build nextToken() for the lexer.
|
protected void |
CppCodeGenerator.genBitsets(Vector bitsetList,
int maxVocabulary,
java.lang.String prefix) |
Generate all the bitsets to be used in the parser or lexer
Generate the raw bitset data like "long _tokenSet1_data[] = {...};"
and the BitSet object declarations like
"BitSet _tokenSet1 = new BitSet(_tokenSet1_data);"
Note that most languages do not support object initialization inside a
class definition, so other code-generators may have to separate the
bitset declarations from the initializations (e.g., put the
initializations in the generated constructor instead).
|
protected void |
CSharpCodeGenerator.genBitsets(Vector bitsetList,
int maxVocabulary) |
Generate all the bitsets to be used in the parser or lexer
Generate the raw bitset data like "long _tokenSet1_data[] = {...};"
and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data);"
Note that most languages do not support object initialization inside a
class definition, so other code-generators may have to separate the
bitset declarations from the initializations (e.g., put the initializations
in the generated constructor instead).
|
protected void |
JavaCodeGenerator.genBitsets(Vector bitsetList,
int maxVocabulary) |
Generate all the bitsets to be used in the parser or lexer
Generate the raw bitset data like "long _tokenSet1_data[] = {...};"
and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data);"
Note that most languages do not support object initialization inside a
class definition, so other code-generators may have to separate the
bitset declarations from the initializations (e.g., put the initializations
in the generated constructor instead).
|
protected void |
PythonCodeGenerator.genBitsets(Vector bitsetList,
int maxVocabulary) |
Generate all the bitsets to be used in the parser or lexer
Generate the raw bitset data like "long _tokenSet1_data[] = {...}"
and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data)"
Note that most languages do not support object initialization inside a
class definition, so other code-generators may have to separate the
bitset declarations from the initializations (e.g., put the initializations
in the generated constructor instead).
|
protected void |
CppCodeGenerator.genBitsetsHeader(Vector bitsetList,
int maxVocabulary) |
|
abstract java.lang.String |
CodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
CppCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
CSharpCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
DiagnosticCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
DocBookCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
HTMLCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
JavaCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
java.lang.String |
PythonCodeGenerator.getASTCreateString(Vector v) |
Get a string for an expression to generate creation of an AST subtree.
|
void |
AlternativeBlock.setAlternatives(Vector v) |
|
java.lang.String |
Lookahead.toString(java.lang.String separator,
Vector vocab) |
|