Package | Description |
---|---|
antlr | |
antlr.collections.impl | |
antlr.preprocessor |
Modifier and Type | Field and Description |
---|---|
protected Vector |
AlternativeBlock.alternatives |
protected Vector |
CodeGenerator.bitsetsUsed
List of all bitsets that must be dumped.
|
protected Vector |
ExceptionSpec.handlers |
(package private) Vector |
RuleBlock.labeledElements |
(package private) Vector |
RuleSymbol.references |
protected Vector |
Grammar.rules |
protected Vector |
SimpleTokenManager.vocabulary |
Modifier and Type | Method and Description |
---|---|
Vector |
AlternativeBlock.getAlternatives() |
Vector |
SimpleTokenManager.getVocabulary()
Get the token vocabulary (read-only).
|
Vector |
TokenManager.getVocabulary()
Get the token vocabulary (read-only).
|
static Vector |
Tool.parseSeparatedList(java.lang.String list,
char separator)
Parse a list such as "f1.g;f2.g;..." and return a Vector
of the elements.
|
Modifier and Type | Method and Description |
---|---|
static RuleBlock |
MakeGrammar.createNextTokenRule(Grammar g,
Vector lexRules,
java.lang.String rname)
Used to build nextToken() for the lexer.
|
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 |
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 |
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 |
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 |
CppCodeGenerator.genBitsetsHeader(Vector bitsetList,
int maxVocabulary) |
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 |
PythonCodeGenerator.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 |
CppCodeGenerator.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.
|
abstract java.lang.String |
CodeGenerator.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.
|
void |
AlternativeBlock.setAlternatives(Vector v) |
java.lang.String |
Lookahead.toString(java.lang.String separator,
Vector vocab) |
Modifier and Type | Field and Description |
---|---|
protected Vector |
IndexedVector.elements |
(package private) Vector |
VectorEnumerator.vector |
(package private) Vector |
VectorEnumeration.vector |
Modifier and Type | Method and Description |
---|---|
static Vector |
BitSet.getRanges(int[] elems)
Find ranges in a set element array.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BitSet.toString(java.lang.String separator,
Vector vocabulary)
Create a string representation where instead of integer elements, the
ith element of vocabulary is displayed instead.
|
Constructor and Description |
---|
ASTEnumerator(Vector v) |
VectorEnumeration(Vector v) |
VectorEnumerator(Vector v) |
Modifier and Type | Field and Description |
---|---|
protected Vector |
Tool.grammars |