Returns the current capacity of the vector.
true if the lexer generates case-sensitive literals testing
A Stream of characters fed to the lexer from a InputStream that can
be rewound via mark()/rewind() methods.
Create a character buffer
Interface used by BitSet to format elements of the set when
converting to string
Object used to format characters in the target language.
A circular buffer object used by CharBuffer
Anything that goes wrong while generating a stream of characters
CharStreamException constructor comment.
Wrap an IOException in a CharStreamException
Make a deep copy of everything in this object
Close the file and see if the actual target is different
if so the target file is overwritten by the copy.
A generic ANTLR code generator.
Construct code generator base class
This method updates the state of the input buffer so that
the text matched since the most recent mark() is no longer
held by the buffer.
Used during filter mode to indicate that path is desired.
Common AST node implementation
A CommonAST whose initialization copies hidden token
information from the Token used to create a node.
Mark another character for deferred consumption
Mark another character for deferred consumption
Get another token object from the token stream
Consume another token from the input stream.
Get another token object from the token stream
Mark another token for deferred consumption
Consume chars until one matches the given set
Consume tokens until one matches the given token set
Consume chars until one matches the given char
Consume tokens until one matches the given token
This example is from the book _Java in a Nutshell_ by David
Flanagan.
Generate MyParser.cpp, MyParser.hpp, MyLexer.cpp, MyLexer.hpp
and MyParserTokenTypes.hpp
Create a C++ code-generator using the given Grammar.
Create a new empty AST node; if the user did not specify
an AST node type, then create a default one: CommonAST.
Create a new empty AST node; if the user did not specify
an AST node type, then create a default one: CommonAST.
ANTLR generates reference to this when you reference a token
that has a specified heterogeneous AST node type.
Create an AST node with the token type and text passed in, but
with a specific Java object type.
Used to build nextToken() for the lexer.
Generates MyParser.cs, MyLexer.cs and MyParserTokenTypes.cs
Create a CSharp code-generator using the given Grammar.
ANTLR Translator Generator
Project led by Terence Parr at http://www.jGuru.com
Software rights: http://www.antlr.org/license.html
Container for a C++ namespace specification.
Tracks the rule or labeled subrule being generated.
Each new rule invocation must have it's own subtree.
Tracks the rule being generated.
Return the element under the cursor; return null if !valid() or
if called before first next() call.
is this computation part of a computation cycle?