- c - Variable in class antlr.debug.InputBufferEvent
-
- cache - Variable in class antlr.Alternative
-
- cache - Variable in class antlr.RuleBlock
-
- cache - Variable in class antlr.RuleEndElement
-
- capacity() - Method in class antlr.collections.impl.Vector
-
Returns the current capacity of the vector.
- CARET - Static variable in interface antlr.ANTLRTokenTypes
-
- caseSensitive - Variable in class antlr.CharScanner
-
- caseSensitive - Variable in class antlr.LexerGrammar
-
true if the lexer generates case-sensitive literals testing
- caseSensitiveLiterals - Variable in class antlr.CharScanner
-
- caseSensitiveLiterals - Variable in class antlr.LexerGrammar
-
- caseSizeThreshold - Static variable in class antlr.CppCodeGenerator
-
- caseSizeThreshold - Static variable in class antlr.CSharpCodeGenerator
-
- caseSizeThreshold - Static variable in class antlr.JavaCodeGenerator
-
- caseSizeThreshold - Static variable in class antlr.PythonCodeGenerator
-
- CHAR - Static variable in interface antlr.actions.cpp.ActionLexerTokenTypes
-
- CHAR - Static variable in interface antlr.actions.csharp.ActionLexerTokenTypes
-
- CHAR - Static variable in interface antlr.actions.java.ActionLexerTokenTypes
-
- CHAR - Static variable in interface antlr.actions.python.ActionLexerTokenTypes
-
- CHAR - Static variable in class antlr.debug.ParserMatchEvent
-
- CHAR - Static variable in exception antlr.MismatchedCharException
-
- CHAR_BITSET - Static variable in class antlr.debug.ParserMatchEvent
-
- CHAR_LITERAL - Static variable in interface antlr.ANTLRTokenTypes
-
- CHAR_LITERAL - Static variable in interface antlr.preprocessor.PreprocessorTokenTypes
-
- CHAR_RANGE - Static variable in class antlr.debug.ParserMatchEvent
-
- charAt(int) - Method in class antlr.ANTLRStringBuffer
-
- CharBuffer - Class in antlr
-
- CharBuffer(Reader) - Constructor for class antlr.CharBuffer
-
Create a character buffer
- CharFormatter - Interface in antlr
-
Interface used by BitSet to format elements of the set when
converting to string
- charFormatter - Variable in class antlr.CodeGenerator
-
Object used to format characters in the target language.
- charFormatter - Variable in class antlr.LLkAnalyzer
-
- CharLiteralElement - Class in antlr
-
- CharLiteralElement(LexerGrammar, Token, boolean, int) - Constructor for class antlr.CharLiteralElement
-
- CharQueue - Class in antlr
-
A circular buffer object used by CharBuffer
- CharQueue(int) - Constructor for class antlr.CharQueue
-
- CharRangeElement - Class in antlr
-
- CharRangeElement(LexerGrammar, Token, Token, int) - Constructor for class antlr.CharRangeElement
-
- CharScanner - Class in antlr
-
- CharScanner() - Constructor for class antlr.CharScanner
-
- CharScanner(InputBuffer) - Constructor for class antlr.CharScanner
-
- CharScanner(LexerSharedInputState) - Constructor for class antlr.CharScanner
-
- charSet() - Method in class antlr.ANTLRParser
-
- CharStreamException - Exception in antlr
-
Anything that goes wrong while generating a stream of characters
- CharStreamException(String) - Constructor for exception antlr.CharStreamException
-
CharStreamException constructor comment.
- CharStreamIOException - Exception in antlr
-
Wrap an IOException in a CharStreamException
- CharStreamIOException(IOException) - Constructor for exception antlr.CharStreamIOException
-
- charVocabulary - Variable in class antlr.LexerGrammar
-
- checkBreak() - Method in interface antlr.debug.ParserController
-
- checkChar(int) - Method in class antlr.PrintWriterWithSMAP
-
- checkCurrentOutputStream() - Method in class antlr.PythonCodeGenerator
-
- checkForInvalidArguments(String[], BitSet) - Method in class antlr.Tool
-
- child - Variable in class antlr.ASTPair
-
- class_def(String, Hierarchy) - Method in class antlr.preprocessor.Preprocessor
-
- classDef() - Method in class antlr.ANTLRParser
-
- classMemberAction - Variable in class antlr.Grammar
-
- className - Variable in class antlr.Grammar
-
- clear() - Method in class antlr.collections.impl.BitSet
-
- clear(int) - Method in class antlr.collections.impl.BitSet
-
- clone() - Method in class antlr.collections.impl.BitSet
-
- clone() - Method in class antlr.collections.impl.Vector
-
- clone() - Method in class antlr.ImportVocabTokenManager
-
- clone() - Method in class antlr.Lookahead
-
Make a deep copy of everything in this object
- clone() - Method in class antlr.SimpleTokenManager
-
- clone() - Method in interface antlr.TokenManager
-
- close() - Method in class antlr.PreservingFileWriter
-
Close the file and see if the actual target is different
if so the target file is overwritten by the copy.
- CLOSE_ELEMENT_OPTION - Static variable in interface antlr.ANTLRTokenTypes
-
- CodeGenerator - Class in antlr
-
A generic ANTLR code generator.
- CodeGenerator() - Constructor for class antlr.CodeGenerator
-
Construct code generator base class
- CodeLexer - Class in antlr.actions.python
-
- CodeLexer(String, String, int, Tool) - Constructor for class antlr.actions.python.CodeLexer
-
- CodeLexer(InputStream) - Constructor for class antlr.actions.python.CodeLexer
-
- CodeLexer(Reader) - Constructor for class antlr.actions.python.CodeLexer
-
- CodeLexer(InputBuffer) - Constructor for class antlr.actions.python.CodeLexer
-
- CodeLexer(LexerSharedInputState) - Constructor for class antlr.actions.python.CodeLexer
-
- CodeLexerTokenTypes - Interface in antlr.actions.python
-
- col - Variable in class antlr.CommonToken
-
- COLON - Static variable in interface antlr.ANTLRTokenTypes
-
- column - Variable in class antlr.GrammarElement
-
- column - Variable in class antlr.LexerSharedInputState
-
- column - Variable in exception antlr.RecognitionException
-
- combineWith(Lookahead) - Method in class antlr.Lookahead
-
- COMMA - Static variable in interface antlr.ANTLRTokenTypes
-
- COMMA - Static variable in interface antlr.preprocessor.PreprocessorTokenTypes
-
- COMMENT - Static variable in interface antlr.actions.cpp.ActionLexerTokenTypes
-
- COMMENT - Static variable in interface antlr.actions.csharp.ActionLexerTokenTypes
-
- COMMENT - Static variable in interface antlr.actions.java.ActionLexerTokenTypes
-
- COMMENT - Static variable in interface antlr.actions.python.ActionLexerTokenTypes
-
- COMMENT - Static variable in interface antlr.actions.python.CodeLexerTokenTypes
-
- COMMENT - Static variable in interface antlr.ANTLRTokenTypes
-
- comment - Variable in class antlr.Grammar
-
- COMMENT - Static variable in interface antlr.preprocessor.PreprocessorTokenTypes
-
- comment - Variable in class antlr.RuleSymbol
-
- commit() - Method in class antlr.CharScanner
-
- commit() - Method in class antlr.InputBuffer
-
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.
- commitToPath - Variable in class antlr.CharScanner
-
Used during filter mode to indicate that path is desired.
- CommonAST - Class in antlr
-
Common AST node implementation
- CommonAST() - Constructor for class antlr.CommonAST
-
- CommonAST(Token) - Constructor for class antlr.CommonAST
-
- CommonASTWithHiddenTokens - Class in antlr
-
A CommonAST whose initialization copies hidden token
information from the Token used to create a node.
- CommonASTWithHiddenTokens() - Constructor for class antlr.CommonASTWithHiddenTokens
-
- CommonASTWithHiddenTokens(Token) - Constructor for class antlr.CommonASTWithHiddenTokens
-
- commonExtraArgs - Variable in class antlr.CppCodeGenerator
-
- commonExtraArgs - Variable in class antlr.CSharpCodeGenerator
-
- commonExtraArgs - Variable in class antlr.JavaCodeGenerator
-
- commonExtraArgs - Variable in class antlr.PythonCodeGenerator
-
- commonExtraParams - Variable in class antlr.CppCodeGenerator
-
- commonExtraParams - Variable in class antlr.CSharpCodeGenerator
-
- commonExtraParams - Variable in class antlr.JavaCodeGenerator
-
- commonExtraParams - Variable in class antlr.PythonCodeGenerator
-
- CommonHiddenStreamToken - Class in antlr
-
- CommonHiddenStreamToken() - Constructor for class antlr.CommonHiddenStreamToken
-
- CommonHiddenStreamToken(int, String) - Constructor for class antlr.CommonHiddenStreamToken
-
- CommonHiddenStreamToken(String) - Constructor for class antlr.CommonHiddenStreamToken
-
- commonLocalVars - Variable in class antlr.CppCodeGenerator
-
- commonLocalVars - Variable in class antlr.CSharpCodeGenerator
-
- commonLocalVars - Variable in class antlr.JavaCodeGenerator
-
- commonLocalVars - Variable in class antlr.PythonCodeGenerator
-
- CommonToken - Class in antlr
-
- CommonToken() - Constructor for class antlr.CommonToken
-
- CommonToken(int, String) - Constructor for class antlr.CommonToken
-
- CommonToken(String) - Constructor for class antlr.CommonToken
-
- compiler - Static variable in class antlr.build.ANTLR
-
- consume() - Method in class antlr.CharScanner
-
- consume() - Method in class antlr.debug.DebuggingCharScanner
-
- consume() - Method in class antlr.debug.DebuggingInputBuffer
-
- CONSUME - Static variable in class antlr.debug.InputBufferEvent
-
- CONSUME - Static variable in class antlr.debug.InputBufferEventSupport
-
- consume() - Method in class antlr.debug.LLkDebuggingParser
-
Get another token object from the token stream
- CONSUME - Static variable in class antlr.debug.ParserEventSupport
-
- CONSUME - Static variable in class antlr.debug.ParserTokenEvent
-
- consume() - Method in class antlr.InputBuffer
-
Mark another character for deferred consumption
- consume() - Method in class antlr.LLkParser
-
Consume another token from the input stream.
- consume() - Method in class antlr.Parser
-
Get another token object from the token stream
- consume() - Method in class antlr.TokenBuffer
-
Mark another token for deferred consumption
- consume() - Method in class antlr.TokenStreamHiddenTokenFilter
-
- consumeUntil(int) - Method in class antlr.CharScanner
-
Consume chars until one matches the given char
- consumeUntil(BitSet) - Method in class antlr.CharScanner
-
Consume chars until one matches the given set
- consumeUntil(int) - Method in class antlr.Parser
-
Consume tokens until one matches the given token
- consumeUntil(BitSet) - Method in class antlr.Parser
-
Consume tokens until one matches the given token set
- containsEpsilon() - Method in class antlr.Lookahead
-
- context() - Method in class antlr.MakeGrammar
-
- CONTINUE_LAST_MAPPING - Static variable in class antlr.JavaCodeGenerator
-
Constant to indicate that we should continue mapping based on the
last mapping seen by the SMAP generator (there may have been
intermediate mappings generated by nested elements)
- copy() - Method in class antlr.ASTPair
-
Copy an ASTPair.
- copyFile(String, String) - Method in class antlr.Tool
-
This example is from the book _Java in a Nutshell_ by David
Flanagan.
- countLines(String) - Method in class antlr.CppCodeGenerator
-
- CppBlockFinishingInfo - Class in antlr
-
- CppBlockFinishingInfo() - Constructor for class antlr.CppBlockFinishingInfo
-
- CppBlockFinishingInfo(String, boolean, boolean, boolean) - Constructor for class antlr.CppBlockFinishingInfo
-
- CppCharFormatter - Class in antlr
-
- CppCharFormatter() - Constructor for class antlr.CppCharFormatter
-
- CppCodeGenerator - Class in antlr
-
Generate MyParser.cpp, MyParser.hpp, MyLexer.cpp, MyLexer.hpp
and MyParserTokenTypes.hpp
- CppCodeGenerator() - Constructor for class antlr.CppCodeGenerator
-
Create a C++ code-generator using the given Grammar.
- create() - Method in class antlr.ASTFactory
-
Create a new empty AST node; if the user did not specify
an AST node type, then create a default one: CommonAST.
- create(int) - Method in class antlr.ASTFactory
-
- create(int, String) - Method in class antlr.ASTFactory
-
- create(int, String, String) - Method in class antlr.ASTFactory
-
Create an AST node with the token type and text passed in, but
with a specific Java object type.
- create(AST) - Method in class antlr.ASTFactory
-
Create a new empty AST node; if the user did not specify
an AST node type, then create a default one: CommonAST.
- create(Token) - Method in class antlr.ASTFactory
-
- create(Token, String) - Method in class antlr.ASTFactory
-
ANTLR generates reference to this when you reference a token
that has a specified heterogeneous AST node type.
- create(String) - Method in class antlr.ASTFactory
-
- create(Class) - Method in class antlr.ASTFactory
-
- createInstanceOf(String) - Static method in class antlr.Utils
-
- createNextTokenRule(Grammar, Vector, String) - Static method in class antlr.MakeGrammar
-
Used to build nextToken() for the lexer.
- createUsingCtor(Token, String) - Method in class antlr.ASTFactory
-
- CSharpBlockFinishingInfo - Class in antlr
-
- CSharpBlockFinishingInfo() - Constructor for class antlr.CSharpBlockFinishingInfo
-
- CSharpBlockFinishingInfo(String, boolean, boolean, boolean) - Constructor for class antlr.CSharpBlockFinishingInfo
-
- CSharpCharFormatter - Class in antlr
-
- CSharpCharFormatter() - Constructor for class antlr.CSharpCharFormatter
-
- CSharpCodeGenerator - Class in antlr
-
Generates MyParser.cs, MyLexer.cs and MyParserTokenTypes.cs
- CSharpCodeGenerator() - Constructor for class antlr.CSharpCodeGenerator
-
Create a CSharp code-generator using the given Grammar.
- CSharpNameSpace - Class in antlr
-
- CSharpNameSpace(String) - Constructor for class antlr.CSharpNameSpace
-
- CURLY_BLOCK_SCARF - Static variable in interface antlr.preprocessor.PreprocessorTokenTypes
-
- currentAlt() - Method in class antlr.BlockContext
-
- currentASTResult - Variable in class antlr.CppCodeGenerator
-
- currentASTResult - Variable in class antlr.CSharpCodeGenerator
-
- currentASTResult - Variable in class antlr.JavaCodeGenerator
-
Tracks the rule or labeled subrule being generated.
- currentASTResult - Variable in class antlr.PythonCodeGenerator
-
Tracks the rule or labeled subrule being generated.
- currentElement() - Method in class antlr.BlockContext
-
- currentExceptionSpec - Variable in class antlr.MakeGrammar
-
- currentOutput - Variable in class antlr.CodeGenerator
-
Current output Stream
- currentParseTreeRoot - Variable in class antlr.debug.ParseTreeDebugParser
-
Each new rule invocation must have it's own subtree.
- currentRule - Variable in class antlr.actions.cpp.ActionLexer
-
- currentRule - Variable in class antlr.actions.csharp.ActionLexer
-
- currentRule - Variable in class antlr.actions.java.ActionLexer
-
- currentRule - Variable in class antlr.actions.python.ActionLexer
-
- currentRule - Variable in class antlr.CppCodeGenerator
-
- currentRule - Variable in class antlr.CSharpCodeGenerator
-
- currentRule - Variable in class antlr.JavaCodeGenerator
-
Tracks the rule being generated.
- currentRule - Variable in class antlr.PythonCodeGenerator
-
Tracks the rule being generated.
- cursor - Variable in class antlr.ASTIterator
-
- cursor() - Method in interface antlr.collections.Enumerator
-
Return the element under the cursor; return null if !valid() or
if called before first next() call.
- cursor - Variable in class antlr.collections.impl.LLEnumeration
-
- cycle - Variable in class antlr.Lookahead
-
is this computation part of a computation cycle?