A B C D E F G H I K L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in exception org.antlr.runtime.MismatchedRangeException
- accept - Variable in class org.antlr.runtime.DFA
- ack() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- ack() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- adaptor - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
-
Almost certainly the recognizer will have adaptor set, but we don't know how to cast it (Parser or TreeParser) to get the adaptor field.
- adaptor - Variable in class org.antlr.runtime.debug.DebugTreeAdaptor
- adaptor - Variable in class org.antlr.runtime.debug.DebugTreeNodeStream
- adaptor - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
- adaptor - Variable in class org.antlr.runtime.tree.TreeIterator
- adaptor - Variable in class org.antlr.runtime.tree.TreePatternParser
- adaptor - Variable in class org.antlr.runtime.tree.TreeVisitor
- adaptor - Variable in class org.antlr.runtime.tree.TreeWizard
- add(int) - Method in class org.antlr.runtime.BitSet
-
or this element into this set (grow as necessary to accommodate)
- add(int) - Method in class org.antlr.runtime.misc.IntArray
- add(Object) - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
- add(T) - Method in class org.antlr.runtime.misc.FastQueue
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- addChild(Object, Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Make childID a child of rootID.
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- addChild(Object, Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- addChild(Object, Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
Add a child to the tree t.
- addChild(Object, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Add a child to the tree t.
- addChild(Object, Token) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- addChild(Tree) - Method in class org.antlr.runtime.tree.BaseTree
-
Add t as child of this node.
- addChild(Tree) - Method in interface org.antlr.runtime.tree.Tree
-
Add t as a child to this node.
- addChildren(List<? extends Tree>) - Method in class org.antlr.runtime.tree.BaseTree
-
Add all elements of kids list as children of this node
- addListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugEventHub
-
Add another listener to broadcast events too.
- addNavigationNode(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
As we flatten the tree, we use UP, DOWN nodes to represent the tree structure.
- alreadyParsedRule(IntStream, int) - Method in class org.antlr.runtime.BaseRecognizer
-
Has this rule already parsed input at the current index in the input stream? Return the stop token index or MEMO_RULE_UNKNOWN.
- ANTLRFileStream - Class in org.antlr.runtime
-
This is a char buffer stream that is loaded from a file all at once when you construct the object.
- ANTLRFileStream(String) - Constructor for class org.antlr.runtime.ANTLRFileStream
- ANTLRFileStream(String, String) - Constructor for class org.antlr.runtime.ANTLRFileStream
- ANTLRInputStream - Class in org.antlr.runtime
-
A kind of ReaderStream that pulls from an InputStream.
- ANTLRInputStream() - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRInputStream(InputStream) - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRInputStream(InputStream, int) - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRInputStream(InputStream, int, int, String) - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRInputStream(InputStream, int, String) - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRInputStream(InputStream, String) - Constructor for class org.antlr.runtime.ANTLRInputStream
- ANTLRReaderStream - Class in org.antlr.runtime
-
Vacuum all input from a Reader and then treat it like a StringStream.
- ANTLRReaderStream() - Constructor for class org.antlr.runtime.ANTLRReaderStream
- ANTLRReaderStream(Reader) - Constructor for class org.antlr.runtime.ANTLRReaderStream
- ANTLRReaderStream(Reader, int) - Constructor for class org.antlr.runtime.ANTLRReaderStream
- ANTLRReaderStream(Reader, int, int) - Constructor for class org.antlr.runtime.ANTLRReaderStream
- ANTLRStringStream - Class in org.antlr.runtime
-
A pretty quick CharStream that pulls all data from an array directly.
- ANTLRStringStream() - Constructor for class org.antlr.runtime.ANTLRStringStream
- ANTLRStringStream(char[], int) - Constructor for class org.antlr.runtime.ANTLRStringStream
-
This is the preferred constructor as no data is copied
- ANTLRStringStream(String) - Constructor for class org.antlr.runtime.ANTLRStringStream
-
Copy data in string to a local char array
- ANTLRWORKS_DIR - Static variable in class org.antlr.runtime.misc.Stats
- applyOnce(Object, TreeFilter.fptr) - Method in class org.antlr.runtime.tree.TreeFilter
- applyOnce(Object, TreeRewriter.fptr) - Method in class org.antlr.runtime.tree.TreeRewriter
- applyRepeatedly(Object, TreeRewriter.fptr) - Method in class org.antlr.runtime.tree.TreeRewriter
- approximateLineInfo - Variable in exception org.antlr.runtime.RecognitionException
-
If you are parsing a tree node stream, you will encounter som imaginary nodes w/o line/col info.
- ARG - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- averageDecisionPercentBacktracks - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- avg(int[]) - Static method in class org.antlr.runtime.misc.Stats
-
Compute the sample mean
- avg(List<Integer>) - Static method in class org.antlr.runtime.misc.Stats
-
Compute the sample mean
- avgDecisionMaxCyclicLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- avgDecisionMaxFixedLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- avgk - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- avgkPerBacktrackingDecisionEvent - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- avgkPerDecisionEvent - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
B
- b - Variable in exception org.antlr.runtime.MismatchedRangeException
- backtrackDepth - Variable in class org.antlr.runtime.debug.Profiler
- backtracking - Variable in class org.antlr.runtime.RecognizerSharedState
-
If 0, no backtracking is going on.
- backtracks - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- BaseRecognizer - Class in org.antlr.runtime
-
A generic recognizer that can handle recognizers generated from lexer, parser, and tree grammars.
- BaseRecognizer() - Constructor for class org.antlr.runtime.BaseRecognizer
- BaseRecognizer(RecognizerSharedState) - Constructor for class org.antlr.runtime.BaseRecognizer
- BaseTree - Class in org.antlr.runtime.tree
-
A generic tree implementation with no payload.
- BaseTree() - Constructor for class org.antlr.runtime.tree.BaseTree
- BaseTree(Tree) - Constructor for class org.antlr.runtime.tree.BaseTree
-
Create a new node from an existing node does nothing for BaseTree as there are no fields other than the children list, which cannot be copied as the children are not considered part of this node.
- BaseTreeAdaptor - Class in org.antlr.runtime.tree
-
A TreeAdaptor that works with any Tree implementation.
- BaseTreeAdaptor() - Constructor for class org.antlr.runtime.tree.BaseTreeAdaptor
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- becomeRoot(Object, Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Make a node the new root of an existing root.
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- becomeRoot(Object, Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
If oldRoot is a nil root, just copy or move the children to newRoot.
- becomeRoot(Object, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
If oldRoot is a nil root, just copy or move the children to newRoot.
- becomeRoot(Token, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- becomeRoot(Token, Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- becomeRoot(Token, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Create a node for newRoot make it the root of oldRoot.
- BEGIN - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- beginBacktrack(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.DebugParser
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.DebugTreeParser
- beginBacktrack(int) - Method in class org.antlr.runtime.debug.Profiler
-
Track backtracking decisions.
- beginResync() - Method in class org.antlr.runtime.BaseRecognizer
-
A hook to listen in on the token consumption during error recovery.
- beginResync() - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- beginResync() - Method in class org.antlr.runtime.debug.DebugEventHub
- beginResync() - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Indicates the recognizer is about to consume tokens to resynchronize the parser.
- beginResync() - Method in class org.antlr.runtime.debug.DebugEventRepeater
- beginResync() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- beginResync() - Method in class org.antlr.runtime.debug.DebugParser
- beginResync() - Method in class org.antlr.runtime.debug.DebugTreeParser
- bits - Variable in class org.antlr.runtime.BitSet
-
The actual data bits
- BITS - Static variable in class org.antlr.runtime.BitSet
- BitSet - Class in org.antlr.runtime
-
A stripped-down version of org.antlr.misc.BitSet that is just good enough to handle runtime requirements such as FOLLOW sets for automatic error recovery.
- BitSet() - Constructor for class org.antlr.runtime.BitSet
-
Construct a bitset of size one word (64 bits)
- BitSet(int) - Constructor for class org.antlr.runtime.BitSet
-
Construct a bitset given the size
- BitSet(long[]) - Constructor for class org.antlr.runtime.BitSet
-
Construction from a static array of longs
- BitSet(List<Integer>) - Constructor for class org.antlr.runtime.BitSet
-
Construction from a list of integers
- BlankDebugEventListener - Class in org.antlr.runtime.debug
-
A blank listener that does nothing; useful for real classes so they don't have to have lots of blank methods and are less sensitive to updates to debug interface.
- BlankDebugEventListener() - Constructor for class org.antlr.runtime.debug.BlankDebugEventListener
- Block(List[]) - Constructor for class org.antlr.runtime.SerializedGrammar.Block
- bottomup() - Method in class org.antlr.runtime.tree.TreeFilter
- bottomup() - Method in class org.antlr.runtime.tree.TreeRewriter
- BufferedTokenStream - Class in org.antlr.runtime
-
Buffer all input tokens but do on-demand fetching of new tokens from lexer.
- BufferedTokenStream() - Constructor for class org.antlr.runtime.BufferedTokenStream
- BufferedTokenStream(TokenSource) - Constructor for class org.antlr.runtime.BufferedTokenStream
- BufferedTreeNodeStream - Class in org.antlr.runtime.tree
-
A buffered stream of tree nodes.
- BufferedTreeNodeStream(Object) - Constructor for class org.antlr.runtime.tree.BufferedTreeNodeStream
- BufferedTreeNodeStream(TreeAdaptor, Object) - Constructor for class org.antlr.runtime.tree.BufferedTreeNodeStream
- BufferedTreeNodeStream(TreeAdaptor, Object, int) - Constructor for class org.antlr.runtime.tree.BufferedTreeNodeStream
- BufferedTreeNodeStream.StreamIterator - Class in org.antlr.runtime.tree
C
- c - Variable in exception org.antlr.runtime.RecognitionException
-
The current char when an error occurred.
- c - Variable in class org.antlr.runtime.tree.TreePatternLexer
-
Current char
- calls - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Stack of indexes used for push/pop calls
- calls - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Stack of indexes used for push/pop calls.
- catOpText(Object, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- channel - Variable in class org.antlr.runtime.ClassicToken
- channel - Variable in class org.antlr.runtime.CommonToken
- channel - Variable in class org.antlr.runtime.CommonTokenStream
-
Skip tokens on any channel but this one; this is how we skip whitespace...
- channel - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
Skip tokens on any channel but this one; this is how we skip whitespace...
- channel - Variable in class org.antlr.runtime.RecognizerSharedState
-
The channel number for the current token
- channel - Variable in class org.antlr.runtime.UnbufferedTokenStream
-
Skip tokens on any channel but this one; this is how we skip whitespace...
- channelOverrideMap - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
Map<tokentype, channel> to override some Tokens' channel numbers
- charPos - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- charPositionInLine - Variable in class org.antlr.runtime.ANTLRStringStream
-
The index of the character relative to the beginning of the line 0..n-1
- charPositionInLine - Variable in class org.antlr.runtime.ClassicToken
- charPositionInLine - Variable in class org.antlr.runtime.CommonToken
- charPositionInLine - Variable in exception org.antlr.runtime.RecognitionException
- CharStream - Interface in org.antlr.runtime
-
A source of characters for an ANTLR lexer
- CharStreamState - Class in org.antlr.runtime
-
When walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the input stream (char index, line, etc...) so that we can rewind the state after scanning ahead.
- CharStreamState() - Constructor for class org.antlr.runtime.CharStreamState
- childIndex - Variable in class org.antlr.runtime.tree.CommonTree
-
What index is this node in the child list? Range: 0..n-1
- children - Variable in class org.antlr.runtime.tree.BaseTree
- ClassicToken - Class in org.antlr.runtime
-
A Token object like we'd use in ANTLR 2.x; has an actual string created and associated with this object.
- ClassicToken(int) - Constructor for class org.antlr.runtime.ClassicToken
- ClassicToken(int, String) - Constructor for class org.antlr.runtime.ClassicToken
- ClassicToken(int, String, int) - Constructor for class org.antlr.runtime.ClassicToken
- ClassicToken(Token) - Constructor for class org.antlr.runtime.ClassicToken
- clear() - Method in class org.antlr.runtime.misc.FastQueue
- clear() - Method in class org.antlr.runtime.misc.IntArray
- clone() - Method in class org.antlr.runtime.BitSet
- closeConnection() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- COLON - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- combineFollows(boolean) - Method in class org.antlr.runtime.BaseRecognizer
- commence() - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- commence() - Method in class org.antlr.runtime.debug.DebugEventHub
- commence() - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Announce that parsing has begun.
- commence() - Method in class org.antlr.runtime.debug.DebugEventRepeater
- commence() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- CommonErrorNode - Class in org.antlr.runtime.tree
-
A node representing erroneous token range in token stream
- CommonErrorNode(TokenStream, Token, Token, RecognitionException) - Constructor for class org.antlr.runtime.tree.CommonErrorNode
- CommonToken - Class in org.antlr.runtime
- CommonToken(int) - Constructor for class org.antlr.runtime.CommonToken
- CommonToken(int, String) - Constructor for class org.antlr.runtime.CommonToken
- CommonToken(CharStream, int, int, int, int) - Constructor for class org.antlr.runtime.CommonToken
- CommonToken(Token) - Constructor for class org.antlr.runtime.CommonToken
- CommonTokenStream - Class in org.antlr.runtime
-
The most common stream of tokens where every token is buffered up and tokens are filtered for a certain channel (the parser will only see these tokens).
- CommonTokenStream() - Constructor for class org.antlr.runtime.CommonTokenStream
- CommonTokenStream(TokenSource) - Constructor for class org.antlr.runtime.CommonTokenStream
- CommonTokenStream(TokenSource, int) - Constructor for class org.antlr.runtime.CommonTokenStream
- CommonTree - Class in org.antlr.runtime.tree
-
A tree node that is wrapper for a Token object.
- CommonTree() - Constructor for class org.antlr.runtime.tree.CommonTree
- CommonTree(Token) - Constructor for class org.antlr.runtime.tree.CommonTree
- CommonTree(CommonTree) - Constructor for class org.antlr.runtime.tree.CommonTree
- CommonTreeAdaptor - Class in org.antlr.runtime.tree
-
A TreeAdaptor that works with any Tree implementation.
- CommonTreeAdaptor() - Constructor for class org.antlr.runtime.tree.CommonTreeAdaptor
- CommonTreeNodeStream - Class in org.antlr.runtime.tree
- CommonTreeNodeStream(Object) - Constructor for class org.antlr.runtime.tree.CommonTreeNodeStream
- CommonTreeNodeStream(TreeAdaptor, Object) - Constructor for class org.antlr.runtime.tree.CommonTreeNodeStream
- computeContextSensitiveRuleFOLLOW() - Method in class org.antlr.runtime.BaseRecognizer
-
Compute the context-sensitive FOLLOW set for current rule.
- computeErrorRecoverySet() - Method in class org.antlr.runtime.BaseRecognizer
- computeTokenTypes(String[]) - Method in class org.antlr.runtime.tree.TreeWizard
-
Compute a Map<String, Integer> that is an inverted index of tokenNames (which maps int token types to names).
- consume() - Method in class org.antlr.runtime.ANTLRStringStream
- consume() - Method in class org.antlr.runtime.BufferedTokenStream
-
Move the input pointer to the next incoming token.
- consume() - Method in class org.antlr.runtime.CommonTokenStream
-
Always leave p on an on-channel token.
- consume() - Method in class org.antlr.runtime.debug.DebugTokenStream
- consume() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- consume() - Method in interface org.antlr.runtime.IntStream
- consume() - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Move the input pointer to the next incoming token.
- consume() - Method in class org.antlr.runtime.misc.LookaheadStream
-
Make sure we have at least one element to remove, even if EOF
- consume() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- consume() - Method in class org.antlr.runtime.tree.TreePatternLexer
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.DebugEventHub
- consumeHiddenToken(Token) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
An off-channel input token was consumed.
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- consumeHiddenToken(Token) - Method in class org.antlr.runtime.debug.Profiler
- consumeInitialHiddenTokens() - Method in class org.antlr.runtime.debug.DebugTokenStream
- consumeNode(Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- consumeNode(Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- consumeNode(Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Input for a tree parser is an AST, but we know nothing for sure about a node except its type and text (obtained from the adaptor).
- consumeNode(Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- consumeNode(Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- consumeNode(Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- consumeToken(Token) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- consumeToken(Token) - Method in class org.antlr.runtime.debug.DebugEventHub
- consumeToken(Token) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
An input token was consumed; matched by any kind of element.
- consumeToken(Token) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- consumeToken(Token) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- consumeToken(Token) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- consumeToken(Token) - Method in class org.antlr.runtime.debug.Profiler
- consumeUntil(IntStream, int) - Method in class org.antlr.runtime.BaseRecognizer
- consumeUntil(IntStream, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Consume tokens until one matches the given token set
- COOKIE - Static variable in class org.antlr.runtime.SerializedGrammar
- couldBacktrack - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- create(int, String) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- create(int, String) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- create(int, String) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Create a new node derived from a token, with a new token type.
- create(int, Token) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- create(int, Token) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- create(int, Token) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Create a new node derived from a token, with a new token type.
- create(int, Token, String) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- create(int, Token, String) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- create(int, Token, String) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Same as create(tokenType,fromToken) except set the text too.
- create(Object) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
-
What kind of node to create.
- create(String) - Method in class org.antlr.runtime.tree.TreeWizard
-
Create a tree or node from the indicated tree pattern that closely follows ANTLR tree grammar tree element syntax: (root child1 ...
- create(Token) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- create(Token) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- create(Token) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Create a tree node from Token object; for CommonTree type trees, then the token just becomes the payload.
- create(Token) - Method in class org.antlr.runtime.tree.TreeWizard.TreePatternTreeAdaptor
- createChildrenList() - Method in class org.antlr.runtime.tree.BaseTree
-
Override in a subclass to change the impl of children list
- createNode(Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- createNode(Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- createNode(Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Announce a new node built from token elements such as type etc...
- createNode(Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- createNode(Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- createNode(Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- createNode(Object, Token) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- createNode(Object, Token) - Method in class org.antlr.runtime.debug.DebugEventHub
- createNode(Object, Token) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Announce a new node built from an existing token.
- createNode(Object, Token) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- createNode(Object, Token) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- createNode(Object, Token) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- createToken(int, String) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
Tell me how to create a token for use with imaginary token nodes.
- createToken(int, String) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
-
Tell me how to create a token for use with imaginary token nodes.
- createToken(Token) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
Tell me how to create a token for use with imaginary token nodes.
- createToken(Token) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
-
Tell me how to create a token for use with imaginary token nodes.
- currentDecision() - Method in class org.antlr.runtime.debug.Profiler
- currentElementIndex - Variable in class org.antlr.runtime.misc.LookaheadStream
-
Absolute token index.
- currentGrammarFileName - Variable in class org.antlr.runtime.debug.Profiler
- currentLine - Variable in class org.antlr.runtime.debug.Profiler
- currentPos - Variable in class org.antlr.runtime.debug.Profiler
- currentRuleName - Variable in class org.antlr.runtime.debug.Profiler
- cursor - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Cursor 0..n-1.
D
- data - Variable in class org.antlr.runtime.ANTLRStringStream
-
The data being scanned
- data - Variable in class org.antlr.runtime.misc.FastQueue
-
dynamically-sized buffer of elements
- data - Variable in class org.antlr.runtime.misc.IntArray
- DATA_SEP - Static variable in class org.antlr.runtime.debug.Profiler
- dbg - Variable in class org.antlr.runtime.debug.DebugParser
-
Who to notify when events in the parser occur.
- dbg - Variable in class org.antlr.runtime.debug.DebugTokenStream
- dbg - Variable in class org.antlr.runtime.debug.DebugTreeAdaptor
- dbg - Variable in class org.antlr.runtime.debug.DebugTreeNodeStream
- dbg - Variable in class org.antlr.runtime.debug.DebugTreeParser
-
Who to notify when events in the parser occur.
- debug - Static variable in class org.antlr.runtime.DFA
- DebugEventHub - Class in org.antlr.runtime.debug
-
Broadcast debug events to multiple listeners.
- DebugEventHub(DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugEventHub
- DebugEventHub(DebugEventListener, DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugEventHub
- DebugEventListener - Interface in org.antlr.runtime.debug
-
All debugging events that a recognizer can trigger.
- DebugEventRepeater - Class in org.antlr.runtime.debug
-
A simple event repeater (proxy) that delegates all functionality to the listener sent into the ctor.
- DebugEventRepeater(DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugEventRepeater
- DebugEventSocketProxy - Class in org.antlr.runtime.debug
-
A proxy debug event listener that forwards events over a socket to a debugger (or any other listener) using a simple text-based protocol; one event per line.
- DebugEventSocketProxy(BaseRecognizer, int, TreeAdaptor) - Constructor for class org.antlr.runtime.debug.DebugEventSocketProxy
- DebugEventSocketProxy(BaseRecognizer, TreeAdaptor) - Constructor for class org.antlr.runtime.debug.DebugEventSocketProxy
- DebugParser - Class in org.antlr.runtime.debug
- DebugParser(TokenStream, DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugParser
- DebugParser(TokenStream, DebugEventListener, RecognizerSharedState) - Constructor for class org.antlr.runtime.debug.DebugParser
-
Create a normal parser except wrap the token stream in a debug proxy that fires consume events.
- DebugParser(TokenStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.debug.DebugParser
- DebugTokenStream - Class in org.antlr.runtime.debug
- DebugTokenStream(TokenStream, DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugTokenStream
- DebugTreeAdaptor - Class in org.antlr.runtime.debug
-
A TreeAdaptor proxy that fires debugging events to a DebugEventListener delegate and uses the TreeAdaptor delegate to do the actual work.
- DebugTreeAdaptor(DebugEventListener, TreeAdaptor) - Constructor for class org.antlr.runtime.debug.DebugTreeAdaptor
- DebugTreeNodeStream - Class in org.antlr.runtime.debug
-
Debug any tree node stream.
- DebugTreeNodeStream(TreeNodeStream, DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugTreeNodeStream
- DebugTreeParser - Class in org.antlr.runtime.debug
- DebugTreeParser(TreeNodeStream, DebugEventListener) - Constructor for class org.antlr.runtime.debug.DebugTreeParser
- DebugTreeParser(TreeNodeStream, DebugEventListener, RecognizerSharedState) - Constructor for class org.antlr.runtime.debug.DebugTreeParser
-
Create a normal parser except wrap the token stream in a debug proxy that fires consume events.
- DebugTreeParser(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.debug.DebugTreeParser
- decision - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- decision - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- DecisionDescriptor() - Constructor for class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- DecisionEvent() - Constructor for class org.antlr.runtime.debug.Profiler.DecisionEvent
- decisionEvents - Variable in class org.antlr.runtime.debug.Profiler
- decisionNumber - Variable in class org.antlr.runtime.DFA
- decisionNumber - Variable in exception org.antlr.runtime.EarlyExitException
- decisionNumber - Variable in exception org.antlr.runtime.NoViableAltException
- decisions - Variable in class org.antlr.runtime.debug.Profiler
- decisionStack - Variable in class org.antlr.runtime.debug.Profiler
- DEFAULT_CHANNEL - Static variable in interface org.antlr.runtime.Token
-
All tokens go to the parser (unless skip() is called in that rule) on a particular "channel".
- DEFAULT_DEBUGGER_PORT - Static variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- DEFAULT_INITIAL_BUFFER_SIZE - Static variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
- DEFAULT_INITIAL_BUFFER_SIZE - Static variable in class org.antlr.runtime.tree.CommonTreeNodeStream
- DEFAULT_PROGRAM_NAME - Static variable in class org.antlr.runtime.TokenRewriteStream
- DEFAULT_TOKEN_CHANNEL - Static variable in class org.antlr.runtime.BaseRecognizer
- delete(int) - Method in class org.antlr.runtime.TokenRewriteStream
- delete(int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- delete(String, int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- delete(String, Token, Token) - Method in class org.antlr.runtime.TokenRewriteStream
- delete(Token) - Method in class org.antlr.runtime.TokenRewriteStream
- delete(Token, Token) - Method in class org.antlr.runtime.TokenRewriteStream
- deleteChild(int) - Method in class org.antlr.runtime.tree.BaseTree
- deleteChild(int) - Method in interface org.antlr.runtime.tree.Tree
- deleteChild(Object, int) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- deleteChild(Object, int) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- deleteChild(Object, int) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Remove ith child and shift children down from right.
- deleteProgram() - Method in class org.antlr.runtime.TokenRewriteStream
- deleteProgram(String) - Method in class org.antlr.runtime.TokenRewriteStream
-
Reset the program so that no instructions exist
- deserializeNode(String[], int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- deserializeToken(String[], int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- DFA - Class in org.antlr.runtime
-
A DFA implemented as a set of transition tables.
- DFA() - Constructor for class org.antlr.runtime.DFA
- dirty - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Once a node / subtree has been used in a stream, it must be dup'd from then on.
- discardOffChannelTokens - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
By default, track all incoming tokens
- discardOffChannelTokens(boolean) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- discardSet - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
Set<tokentype>; discard any tokens with this type
- discardTokenType(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- dispatch(String) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- displayRecognitionError(String[], RecognitionException) - Method in class org.antlr.runtime.BaseRecognizer
- DOT - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- DOTTreeGenerator - Class in org.antlr.runtime.tree
-
A utility class to generate DOT diagrams (graphviz) from arbitrary trees.
- DOTTreeGenerator() - Constructor for class org.antlr.runtime.tree.DOTTreeGenerator
- DoubleKeyMap<Key1,Key2,Value> - Class in org.antlr.runtime.misc
-
Sometimes we need to map a key to a value but key is two pieces of data.
- DoubleKeyMap() - Constructor for class org.antlr.runtime.misc.DoubleKeyMap
- down - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
- down - Variable in class org.antlr.runtime.tree.TreeIterator
- DOWN - Static variable in interface org.antlr.runtime.Token
-
imaginary tree navigation type; traverse "get child" link
- DOWN - Static variable in class org.antlr.runtime.tree.TreeParser
- downup(Object) - Method in class org.antlr.runtime.tree.TreeFilter
- downup(Object) - Method in class org.antlr.runtime.tree.TreeRewriter
- downup(Object, boolean) - Method in class org.antlr.runtime.tree.TreeRewriter
- dup(Object) - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
-
When constructing trees, sometimes we need to dup a token or AST subtree.
- dup(Object) - Method in class org.antlr.runtime.tree.RewriteRuleNodeStream
- dup(Object) - Method in class org.antlr.runtime.tree.RewriteRuleSubtreeStream
- dup(Object) - Method in class org.antlr.runtime.tree.RewriteRuleTokenStream
- dupNode() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- dupNode() - Method in class org.antlr.runtime.tree.CommonTree
- dupNode() - Method in class org.antlr.runtime.tree.ParseTree
- dupNode() - Method in interface org.antlr.runtime.tree.Tree
- dupNode(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- dupNode(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
-
Duplicate a node.
- dupNode(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Duplicate a single tree node.
- dupTree(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- dupTree(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- dupTree(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Duplicate tree recursively, using dupNode() for each node
- dupTree(Object, Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
This is generic in the sense that it will work with any kind of tree (not just Tree interface).
E
- EarlyExitException - Exception in org.antlr.runtime
-
The recognizer did not match anything for a (..)+ loop.
- EarlyExitException() - Constructor for exception org.antlr.runtime.EarlyExitException
-
Used for remote debugger deserialization
- EarlyExitException(int, IntStream) - Constructor for exception org.antlr.runtime.EarlyExitException
- elementAt(int) - Method in class org.antlr.runtime.misc.FastQueue
-
Return element
i
elements ahead of current element. - elementDescription - Variable in exception org.antlr.runtime.tree.RewriteCardinalityException
- elementDescription - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
-
The element or stream description; usually has name of the token or rule reference that this list tracks.
- elements - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
-
The list of tokens or subtrees we are tracking
- emit() - Method in class org.antlr.runtime.Lexer
-
The standard method called to automatically emit a token at the outermost lexical rule.
- emit(Token) - Method in class org.antlr.runtime.Lexer
-
Currently does not support multiple emits per nextToken invocation for efficiency reasons.
- emitErrorMessage(String) - Method in class org.antlr.runtime.BaseRecognizer
-
Override this method to change where error messages go
- END - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventHub
- endBacktrack(int, boolean) - Method in interface org.antlr.runtime.debug.DebugEventListener
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.DebugParser
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.DebugTreeParser
- endBacktrack(int, boolean) - Method in class org.antlr.runtime.debug.Profiler
-
Successful or not, track how much lookahead synpreds use
- endResync() - Method in class org.antlr.runtime.BaseRecognizer
- endResync() - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- endResync() - Method in class org.antlr.runtime.debug.DebugEventHub
- endResync() - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Indicates that the recognizer has finished consuming tokens in order to resychronize.
- endResync() - Method in class org.antlr.runtime.debug.DebugEventRepeater
- endResync() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- endResync() - Method in class org.antlr.runtime.debug.DebugParser
- endResync() - Method in class org.antlr.runtime.debug.DebugTreeParser
- ensureCapacity(int) - Method in class org.antlr.runtime.misc.IntArray
- enterAlt(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- enterAlt(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- enterAlt(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Because rules can have lots of alternatives, it is very useful to know which alt you are entering.
- enterAlt(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- enterAlt(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventHub
- enterDecision(int, boolean) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Every decision, fixed k or arbitrary, has an enter/exit event so that a GUI can easily track what LT/consume events are associated with prediction.
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
-
Backtracking or cyclic DFA, don't want to add nodes to tree
- enterDecision(int, boolean) - Method in class org.antlr.runtime.debug.Profiler
- enterRule(String) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- enterRule(String) - Method in class org.antlr.runtime.debug.Tracer
- enterRule(String, String) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- enterRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventHub
- enterRule(String, String) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
The parser has just entered a rule.
- enterRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- enterRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- enterRule(String, String) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- enterRule(String, String) - Method in class org.antlr.runtime.debug.Profiler
- enterSubRule(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- enterSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- enterSubRule(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Track entry into any (...) subrule other EBNF construct
- enterSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- enterSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- enterSubRule(int) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- eof - Variable in class org.antlr.runtime.DFA
- eof - Variable in class org.antlr.runtime.misc.LookaheadStream
-
Track object returned by nextElement upon end of stream; Return it later when they ask for LT passed end of input.
- eof - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
- eof - Variable in class org.antlr.runtime.tree.TreeIterator
- EOF - Static variable in interface org.antlr.runtime.CharStream
- EOF - Static variable in interface org.antlr.runtime.Token
- EOF - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- EOR_TOKEN_TYPE - Static variable in interface org.antlr.runtime.Token
- eot - Variable in class org.antlr.runtime.DFA
- EPSILON_PAYLOAD - Static variable in class org.antlr.runtime.debug.ParseTreeBuilder
- epsilonNode() - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- equals(Object) - Method in class org.antlr.runtime.BitSet
- equals(Object, Object) - Method in class org.antlr.runtime.tree.TreeWizard
-
Compare type, structure, and text of two trees, assuming adaptor in this instance of a TreeWizard.
- equals(Object, Object, TreeAdaptor) - Static method in class org.antlr.runtime.tree.TreeWizard
-
Compare t1 and t2; return true if token types/text, structure match exactly.
- error - Variable in class org.antlr.runtime.tree.TreePatternLexer
- error(NoViableAltException) - Method in class org.antlr.runtime.DFA
-
A hook for debugging interface
- errorNode(Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- errorNode(Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- errorNode(Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Upon syntax error, recognizers bracket the error with an error node if they are building ASTs.
- errorNode(Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- errorNode(Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- errorNode(TokenStream, Token, Token, RecognitionException) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- errorNode(TokenStream, Token, Token, RecognitionException) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
create tree node that holds the start and stop tokens associated with an error.
- errorNode(TokenStream, Token, Token, RecognitionException) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Return a tree node representing an error.
- errorRecovery - Variable in class org.antlr.runtime.RecognizerSharedState
-
This is true when we see an error and before having successfully matched a token.
- escapeNewlines(String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- evalSemPred - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- eventHandler() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- examineRuleMemoization(IntStream, int, int, String) - Method in class org.antlr.runtime.debug.Profiler
-
Track memoization; this is not part of standard debug interface but is triggered by profiling.
- execute(StringBuffer) - Method in class org.antlr.runtime.TokenRewriteStream.RewriteOperation
-
Execute the rewrite operation by possibly adding to the buffer.
- exitDecision(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- exitDecision(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- exitDecision(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
- exitDecision(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- exitDecision(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- exitDecision(int) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- exitDecision(int) - Method in class org.antlr.runtime.debug.Profiler
- exitRule(String) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- exitRule(String) - Method in class org.antlr.runtime.debug.Tracer
- exitRule(String, String) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- exitRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventHub
- exitRule(String, String) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
This is the last thing executed before leaving a rule.
- exitRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- exitRule(String, String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- exitRule(String, String) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- exitRule(String, String) - Method in class org.antlr.runtime.debug.Profiler
- exitSubRule(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- exitSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- exitSubRule(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
- exitSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- exitSubRule(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- exitSubRule(int) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- expecting - Variable in exception org.antlr.runtime.MismatchedSetException
- expecting - Variable in exception org.antlr.runtime.MismatchedTokenException
- expecting - Variable in exception org.antlr.runtime.MismatchedTreeNodeException
- extractInformationFromTreeNodeStream(IntStream) - Method in exception org.antlr.runtime.RecognitionException
F
- failed - Variable in class org.antlr.runtime.RecognizerSharedState
-
In lieu of a return value, this indicates that a rule or token has failed to match.
- failed() - Method in class org.antlr.runtime.BaseRecognizer
-
Return whether or not a backtracking attempt failed.
- FailedPredicateException - Exception in org.antlr.runtime
-
A semantic predicate failed during validation.
- FailedPredicateException() - Constructor for exception org.antlr.runtime.FailedPredicateException
-
Used for remote debugger deserialization
- FailedPredicateException(IntStream, String, String) - Constructor for exception org.antlr.runtime.FailedPredicateException
- FALSE - Static variable in interface org.antlr.runtime.debug.DebugEventListener
- FastQueue<T> - Class in org.antlr.runtime.misc
-
A queue that can dequeue and get(i) in O(1) and grow arbitrarily large.
- FastQueue() - Constructor for class org.antlr.runtime.misc.FastQueue
- fetch(int) - Method in class org.antlr.runtime.BufferedTokenStream
-
add n elements to buffer
- fileName - Variable in class org.antlr.runtime.ANTLRFileStream
- fileName - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- fill() - Method in class org.antlr.runtime.BufferedTokenStream
-
Get all tokens from lexer until EOF
- fill(int) - Method in class org.antlr.runtime.misc.LookaheadStream
-
add n elements to buffer
- fillBuffer() - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Load all tokens from the token source and put in tokens.
- fillBuffer() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Walk tree with depth-first-search and fill nodes buffer.
- fillBuffer(Object) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- find(Object, int) - Method in class org.antlr.runtime.tree.TreeWizard
-
Return a List of tree nodes with token type ttype
- find(Object, String) - Method in class org.antlr.runtime.tree.TreeWizard
-
Return a List of subtrees matching pattern.
- findFirst(Object, int) - Method in class org.antlr.runtime.tree.TreeWizard
- findFirst(Object, String) - Method in class org.antlr.runtime.tree.TreeWizard
- firstTime - Variable in class org.antlr.runtime.tree.TreeIterator
- fixString(String) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- following - Variable in class org.antlr.runtime.RecognizerSharedState
-
Track the set of token types that can follow any rule invocation.
- FORMAT_VERSION - Static variable in class org.antlr.runtime.SerializedGrammar
- freshenParentAndChildIndexes() - Method in class org.antlr.runtime.tree.BaseTree
-
Set the parent and child index values for all child of t
- freshenParentAndChildIndexes() - Method in interface org.antlr.runtime.tree.Tree
-
Set the parent and child index values for all children
- freshenParentAndChildIndexes(int) - Method in class org.antlr.runtime.tree.BaseTree
- freshenParentAndChildIndexesDeeply() - Method in class org.antlr.runtime.tree.BaseTree
- freshenParentAndChildIndexesDeeply(int) - Method in class org.antlr.runtime.tree.BaseTree
G
- get(int) - Method in class org.antlr.runtime.BufferedTokenStream
- get(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- get(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- get(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Return absolute token i; ignore which channel the tokens are on; that is, count all tokens not just on-channel tokens.
- get(int) - Method in interface org.antlr.runtime.TokenStream
-
Get a token at an absolute index i; 0..n-1.
- get(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- get(int) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- get(int) - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Get a tree node at an absolute index
i
; 0..n-1. - get(int) - Method in class org.antlr.runtime.UnbufferedTokenStream
- get(int, int) - Method in class org.antlr.runtime.BufferedTokenStream
-
Get all tokens from start..stop inclusively
- get(int, int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Get all tokens from start..stop inclusively
- get(Key1) - Method in class org.antlr.runtime.misc.DoubleKeyMap
- get(Key1, Key2) - Method in class org.antlr.runtime.misc.DoubleKeyMap
- getAbsoluteFileName(String) - Static method in class org.antlr.runtime.misc.Stats
- getAncestor(int) - Method in class org.antlr.runtime.tree.BaseTree
-
Walk upwards and get first ancestor with this token type.
- getAncestor(int) - Method in interface org.antlr.runtime.tree.Tree
-
Walk upwards and get first ancestor with this token type.
- getAncestor(TreeAdaptor, String[], Object, String) - Static method in class org.antlr.runtime.tree.TreeParser
-
Helper for static inContext
- getAncestors() - Method in class org.antlr.runtime.tree.BaseTree
-
Return a list of all ancestors of this node.
- getAncestors() - Method in interface org.antlr.runtime.tree.Tree
-
Return a list of all ancestors of this node.
- getBacktrackingLevel() - Method in class org.antlr.runtime.BaseRecognizer
- getChannel() - Method in class org.antlr.runtime.ClassicToken
- getChannel() - Method in class org.antlr.runtime.CommonToken
- getChannel() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getChannel() - Method in interface org.antlr.runtime.Token
- getCharErrorDisplay(int) - Method in class org.antlr.runtime.Lexer
- getCharIndex() - Method in class org.antlr.runtime.Lexer
-
What is the index of the current character of lookahead?
- getCharPositionInLine() - Method in class org.antlr.runtime.ANTLRStringStream
- getCharPositionInLine() - Method in interface org.antlr.runtime.CharStream
-
The index of the character relative to the beginning of the line 0..n-1
- getCharPositionInLine() - Method in class org.antlr.runtime.ClassicToken
- getCharPositionInLine() - Method in class org.antlr.runtime.CommonToken
- getCharPositionInLine() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getCharPositionInLine() - Method in class org.antlr.runtime.Lexer
- getCharPositionInLine() - Method in interface org.antlr.runtime.Token
-
The index of the first character relative to the beginning of the line 0..n-1
- getCharPositionInLine() - Method in class org.antlr.runtime.tree.BaseTree
- getCharPositionInLine() - Method in class org.antlr.runtime.tree.CommonTree
- getCharPositionInLine() - Method in interface org.antlr.runtime.tree.Tree
- getCharStream() - Method in class org.antlr.runtime.Lexer
- getChild(int) - Method in class org.antlr.runtime.tree.BaseTree
- getChild(int) - Method in interface org.antlr.runtime.tree.Tree
- getChild(Object, int) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getChild(Object, int) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- getChild(Object, int) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getChild(Object, int) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Get a child 0..n-1 node
- getChildCount() - Method in class org.antlr.runtime.tree.BaseTree
- getChildCount() - Method in interface org.antlr.runtime.tree.Tree
- getChildCount(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getChildCount(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- getChildCount(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getChildCount(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
How many children? If 0, then this is a leaf node
- getChildIndex() - Method in class org.antlr.runtime.tree.BaseTree
-
BaseTree doesn't track child indexes.
- getChildIndex() - Method in class org.antlr.runtime.tree.CommonTree
- getChildIndex() - Method in interface org.antlr.runtime.tree.Tree
-
This node is what child index? 0..n-1
- getChildIndex(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getChildIndex(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getChildIndex(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
What index is this node in the child list? Range: 0..n-1 If your node type doesn't handle this, it's ok but the tree rewrites in tree parsers need this functionality.
- getChildren() - Method in class org.antlr.runtime.tree.BaseTree
-
Get the children internal List; note that if you directly mess with the list, do so at your own risk.
- getCurrentInputSymbol(IntStream) - Method in class org.antlr.runtime.BaseRecognizer
-
Match needs to return the current input symbol, which gets put into the label for the associated token ref; e.g., x=ID.
- getCurrentInputSymbol(IntStream) - Method in class org.antlr.runtime.Parser
- getCurrentInputSymbol(IntStream) - Method in class org.antlr.runtime.tree.TreeParser
- getCurrentSymbol() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- getDebugListener() - Method in class org.antlr.runtime.debug.DebugParser
- getDebugListener() - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getDebugListener() - Method in class org.antlr.runtime.debug.DebugTreeParser
- getDecisionEvents() - Method in class org.antlr.runtime.debug.Profiler
- getDecisionStats() - Method in class org.antlr.runtime.debug.Profiler
- getDecisionStatsDump() - Method in class org.antlr.runtime.debug.Profiler
- getDescription() - Method in class org.antlr.runtime.DFA
- getDescription() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
- getEOFToken() - Method in class org.antlr.runtime.Lexer
-
Returns the EOF token (default), if you need to return a custom token instead override this method.
- getErrorHeader(RecognitionException) - Method in class org.antlr.runtime.BaseRecognizer
-
What is the error header, normally line/character position information?
- getErrorHeader(RecognitionException) - Method in class org.antlr.runtime.tree.TreeParser
-
Prefix error message with the grammar name because message is always intended for the programmer because the parser built the input tree not the user.
- getErrorMessage(RecognitionException, String[]) - Method in class org.antlr.runtime.BaseRecognizer
-
What error message should be generated for the various exception types? Not very object-oriented code, but I like having all error message generation within one method rather than spread among all of the exception classes.
- getErrorMessage(RecognitionException, String[]) - Method in class org.antlr.runtime.Lexer
- getErrorMessage(RecognitionException, String[]) - Method in class org.antlr.runtime.tree.TreeParser
-
Tree parsers parse nodes they usually have a token object as payload.
- getEventElements(String) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- getFirstChildWithType(int) - Method in class org.antlr.runtime.tree.BaseTree
- getGrammarFileName() - Method in class org.antlr.runtime.BaseRecognizer
-
For debugging and other purposes, might want the grammar name.
- getInputStream() - Method in class org.antlr.runtime.ClassicToken
- getInputStream() - Method in class org.antlr.runtime.CommonToken
- getInputStream() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getInputStream() - Method in interface org.antlr.runtime.Token
-
From what character stream was this token created? You don't have to implement but it's nice to know where a Token comes from if you have include files etc...
- getInputSymbol(int) - Method in class org.antlr.runtime.debug.Tracer
- getKindOfOps(List<? extends TokenRewriteStream.RewriteOperation>, Class<T>) - Method in class org.antlr.runtime.TokenRewriteStream
- getKindOfOps(List<? extends TokenRewriteStream.RewriteOperation>, Class<T>, int) - Method in class org.antlr.runtime.TokenRewriteStream
-
Get all operations before an index of a particular kind
- getKnownPositionElement(boolean) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Returns an element containing position information.
- getKnownPositionElement(boolean) - Method in interface org.antlr.runtime.tree.PositionTrackingStream
-
Returns an element containing concrete information about the current position in the stream.
- getLastRewriteTokenIndex() - Method in class org.antlr.runtime.TokenRewriteStream
- getLastRewriteTokenIndex(String) - Method in class org.antlr.runtime.TokenRewriteStream
- getLine() - Method in class org.antlr.runtime.ANTLRStringStream
- getLine() - Method in interface org.antlr.runtime.CharStream
-
ANTLR tracks the line information automatically
- getLine() - Method in class org.antlr.runtime.ClassicToken
- getLine() - Method in class org.antlr.runtime.CommonToken
- getLine() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getLine() - Method in class org.antlr.runtime.Lexer
- getLine() - Method in interface org.antlr.runtime.Token
-
The line number on which this token was matched; line=1..n
- getLine() - Method in class org.antlr.runtime.tree.BaseTree
- getLine() - Method in class org.antlr.runtime.tree.CommonTree
- getLine() - Method in interface org.antlr.runtime.tree.Tree
-
In case we don't have a token payload, what is the line for errors?
- getMessage() - Method in exception org.antlr.runtime.tree.RewriteCardinalityException
- getMissingSymbol(IntStream, RecognitionException, int, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Conjure up a missing token during error recovery.
- getMissingSymbol(IntStream, RecognitionException, int, BitSet) - Method in class org.antlr.runtime.debug.DebugTreeParser
- getMissingSymbol(IntStream, RecognitionException, int, BitSet) - Method in class org.antlr.runtime.Parser
- getMissingSymbol(IntStream, RecognitionException, int, BitSet) - Method in class org.antlr.runtime.tree.TreeParser
- getMissingType() - Method in exception org.antlr.runtime.MissingTokenException
- getNodeIndex(Object) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
What is the stream index for node? 0..n-1 Return -1 if node not found.
- getNodeNumber(Object) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- getNodeST(TreeAdaptor, Object) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- getNumberOfHiddenTokens(int, int) - Method in class org.antlr.runtime.debug.Profiler
-
Get num hidden tokens between i..j inclusive
- getNumberOfOnChannelTokens() - Method in class org.antlr.runtime.CommonTokenStream
-
Count EOF just once.
- getNumberOfSyntaxErrors() - Method in class org.antlr.runtime.BaseRecognizer
-
Get number of recognition errors (lexer, parser, tree parser).
- getParent() - Method in class org.antlr.runtime.tree.BaseTree
-
BaseTree doesn't track parent pointers.
- getParent() - Method in class org.antlr.runtime.tree.CommonTree
- getParent() - Method in interface org.antlr.runtime.tree.Tree
- getParent(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getParent(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getParent(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Who is the parent node of this node; if null, implies node is root.
- getProgram(String) - Method in class org.antlr.runtime.TokenRewriteStream
- getReport() - Method in class org.antlr.runtime.debug.Profiler
- getRuleInvocationStack() - Method in class org.antlr.runtime.BaseRecognizer
-
Return List<String> of the rules in your parser instance leading up to a call to this method.
- getRuleInvocationStack(Throwable, String) - Static method in class org.antlr.runtime.BaseRecognizer
-
A more general version of getRuleInvocationStack where you can pass in, for example, a RecognitionException to get it's rule stack trace.
- getRuleMemoization(int, int) - Method in class org.antlr.runtime.BaseRecognizer
-
Given a rule number and a start token index number, return MEMO_RULE_UNKNOWN if the rule has not parsed input starting from start index.
- getRuleMemoizationCacheSize() - Method in class org.antlr.runtime.BaseRecognizer
-
return how many rule/input-index pairs there are in total.
- getSourceName() - Method in class org.antlr.runtime.ANTLRFileStream
- getSourceName() - Method in class org.antlr.runtime.ANTLRStringStream
- getSourceName() - Method in class org.antlr.runtime.BaseRecognizer
- getSourceName() - Method in class org.antlr.runtime.BufferedTokenStream
- getSourceName() - Method in class org.antlr.runtime.debug.DebugTokenStream
- getSourceName() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- getSourceName() - Method in interface org.antlr.runtime.IntStream
-
Where are you getting symbols from? Normally, implementations will pass the buck all the way to the lexer who can ask its input stream for the file name or whatever.
- getSourceName() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getSourceName() - Method in class org.antlr.runtime.Lexer
- getSourceName() - Method in class org.antlr.runtime.Parser
- getSourceName() - Method in interface org.antlr.runtime.TokenSource
-
Where are you getting tokens from? normally the implication will simply ask lexers input stream.
- getSourceName() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- getSourceName() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- getSourceName() - Method in class org.antlr.runtime.tree.TreeParser
- getSourceName() - Method in class org.antlr.runtime.UnbufferedTokenStream
- getStart() - Method in class org.antlr.runtime.ParserRuleReturnScope
- getStart() - Method in class org.antlr.runtime.RuleReturnScope
-
Return the start token or tree
- getStart() - Method in class org.antlr.runtime.tree.TreeRuleReturnScope
- getStartIndex() - Method in class org.antlr.runtime.CommonToken
- getStop() - Method in class org.antlr.runtime.ParserRuleReturnScope
- getStop() - Method in class org.antlr.runtime.RuleReturnScope
-
Return the stop token or tree
- getStopIndex() - Method in class org.antlr.runtime.CommonToken
- getTemplate() - Method in class org.antlr.runtime.RuleReturnScope
-
Has a value potentially if output=template; Don't use StringTemplate type as it then causes a dependency with ST lib.
- getText() - Method in class org.antlr.runtime.ClassicToken
- getText() - Method in class org.antlr.runtime.CommonToken
- getText() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getText() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- getText() - Method in class org.antlr.runtime.Lexer
-
Return the text matched so far for the current token or any text override.
- getText() - Method in interface org.antlr.runtime.Token
-
Get the text of the token
- getText() - Method in class org.antlr.runtime.tree.CommonErrorNode
- getText() - Method in class org.antlr.runtime.tree.CommonTree
- getText() - Method in class org.antlr.runtime.tree.ParseTree
- getText() - Method in interface org.antlr.runtime.tree.Tree
- getText(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getText(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- getText(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getText(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
- getToken() - Method in class org.antlr.runtime.tree.CommonTree
- getToken(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getToken(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
-
What is the Token associated with this node? If you are not using CommonTree, then you must override this in your own adaptor.
- getToken(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Return the token object from which this node was created.
- getTokenErrorDisplay(Token) - Method in class org.antlr.runtime.BaseRecognizer
-
How should a token be displayed in an error message? The default is to display just the text, but during development you might want to have a lot of information spit out.
- getTokenIndex() - Method in class org.antlr.runtime.ClassicToken
- getTokenIndex() - Method in class org.antlr.runtime.CommonToken
- getTokenIndex() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getTokenIndex() - Method in interface org.antlr.runtime.Token
-
An index from 0..n-1 of the token object in the input stream.
- getTokenNames() - Method in class org.antlr.runtime.BaseRecognizer
-
Used to print out token names like ID during debugging and error reporting.
- getTokens() - Method in class org.antlr.runtime.BufferedTokenStream
- getTokens() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getTokens(int, int) - Method in class org.antlr.runtime.BufferedTokenStream
- getTokens(int, int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getTokens(int, int, int) - Method in class org.antlr.runtime.BufferedTokenStream
- getTokens(int, int, int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getTokens(int, int, List<Integer>) - Method in class org.antlr.runtime.BufferedTokenStream
- getTokens(int, int, List<Integer>) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getTokens(int, int, BitSet) - Method in class org.antlr.runtime.BufferedTokenStream
-
Given a start and stop index, return a List of all tokens in the token type BitSet.
- getTokens(int, int, BitSet) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Given a start and stop index, return a List of all tokens in the token type BitSet.
- getTokenSource() - Method in class org.antlr.runtime.BufferedTokenStream
- getTokenSource() - Method in class org.antlr.runtime.debug.DebugTokenStream
- getTokenSource() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- getTokenSource() - Method in interface org.antlr.runtime.TokenStream
-
Where is this stream pulling tokens from? This is not the name, but the object that provides Token objects.
- getTokenSource() - Method in class org.antlr.runtime.UnbufferedTokenStream
- getTokenStartIndex() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- getTokenStartIndex() - Method in class org.antlr.runtime.tree.CommonTree
- getTokenStartIndex() - Method in class org.antlr.runtime.tree.ParseTree
- getTokenStartIndex() - Method in interface org.antlr.runtime.tree.Tree
-
What is the smallest token index (indexing from 0) for this node and its children?
- getTokenStartIndex(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getTokenStartIndex(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getTokenStartIndex(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Get the token start index for this subtree; return -1 if no such index
- getTokenStopIndex() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- getTokenStopIndex() - Method in class org.antlr.runtime.tree.CommonTree
- getTokenStopIndex() - Method in class org.antlr.runtime.tree.ParseTree
- getTokenStopIndex() - Method in interface org.antlr.runtime.tree.Tree
-
What is the largest token index (indexing from 0) for this node and its children?
- getTokenStopIndex(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getTokenStopIndex(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getTokenStopIndex(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Get the token stop index for this subtree; return -1 if no such index
- getTokenStream() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- getTokenStream() - Method in class org.antlr.runtime.Parser
- getTokenStream() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- getTokenStream() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- getTokenStream() - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
If the tree associated with this stream was created from a
TokenStream
, you can specify it here. - getTokenType(String) - Method in class org.antlr.runtime.tree.TreeWizard
-
Using the map of token names to token types, return the type.
- getTree() - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- getTree() - Method in class org.antlr.runtime.ParserRuleReturnScope
- getTree() - Method in class org.antlr.runtime.RuleReturnScope
-
Has a value potentially if output=AST;
- getTreeAdaptor() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- getTreeAdaptor() - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getTreeAdaptor() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- getTreeAdaptor() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- getTreeAdaptor() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- getTreeAdaptor() - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
What adaptor can tell me how to interpret/navigate nodes and trees.
- getTreeNodeStream() - Method in class org.antlr.runtime.tree.TreeParser
- getTreeSource() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- getTreeSource() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- getTreeSource() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- getTreeSource() - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Where is this stream pulling nodes from? This is not the name, but the object that provides node objects.
- getType() - Method in class org.antlr.runtime.ClassicToken
- getType() - Method in class org.antlr.runtime.CommonToken
- getType() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- getType() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- getType() - Method in interface org.antlr.runtime.Token
- getType() - Method in class org.antlr.runtime.tree.CommonErrorNode
- getType() - Method in class org.antlr.runtime.tree.CommonTree
- getType() - Method in class org.antlr.runtime.tree.ParseTree
- getType() - Method in interface org.antlr.runtime.tree.Tree
-
Return a token type; needed for tree parsing
- getType(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getType(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- getType(Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- getType(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
For tree parsing, I need to know the token type of a node
- getUnexpectedToken() - Method in exception org.antlr.runtime.UnwantedTokenException
- getUnexpectedType() - Method in exception org.antlr.runtime.RecognitionException
-
Return the token type or char of the unexpected input element
- getUniqueID(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- getUniqueID(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- getUniqueID(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
For identifying trees.
- grammarDecisionDescription - Variable in exception org.antlr.runtime.NoViableAltException
- grammarFileName - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- grammarFileName - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- growToInclude(int) - Method in class org.antlr.runtime.BitSet
-
Grows the set to a larger number of bits.
H
- handshake() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- handshake() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- hasAncestor(int) - Method in class org.antlr.runtime.tree.BaseTree
-
Walk upwards looking for ancestor with this token type.
- hasAncestor(int) - Method in interface org.antlr.runtime.tree.Tree
-
Is there is a node above with token type ttype?
- hasNext() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream.StreamIterator
- hasNext() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
- hasNext() - Method in class org.antlr.runtime.tree.TreeIterator
- hasNilRoot - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Tree
(nil A B C)
trees like flatA B C
streams - hasPositionInformation(Object) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- hasPositionInformation(T) - Method in interface org.antlr.runtime.tree.PositionTrackingStream
-
Determines if the specified
element
contains concrete position information. - hasTextArg - Variable in class org.antlr.runtime.tree.TreeWizard.TreePattern
- hasUniqueNavigationNodes() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- head() - Method in class org.antlr.runtime.misc.FastQueue
- HIDDEN - Static variable in class org.antlr.runtime.BaseRecognizer
- HIDDEN_CHANNEL - Static variable in interface org.antlr.runtime.Token
-
Anything on different channel than DEFAULT_CHANNEL is not parsed by parser.
- hiddenTokens - Variable in class org.antlr.runtime.tree.ParseTree
I
- ID - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- ID - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- in - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- inContext(String) - Method in class org.antlr.runtime.tree.TreeParser
-
Check if current node in input has a context.
- inContext(TreeAdaptor, String[], Object, String) - Static method in class org.antlr.runtime.tree.TreeParser
-
The worker for inContext.
- inDecision() - Method in class org.antlr.runtime.debug.Profiler
-
The parser is in a decision if the decision depth > 0.
- index - Variable in class org.antlr.runtime.ClassicToken
-
What token number is this from 0..n-1 tokens
- index - Variable in class org.antlr.runtime.CommonToken
-
What token number is this from 0..n-1 tokens; < 0 implies invalid index
- index - Variable in exception org.antlr.runtime.RecognitionException
-
What is index of token/char were we looking at when the error occurred?
- index - Variable in class org.antlr.runtime.TokenRewriteStream.RewriteOperation
-
Token buffer index.
- index() - Method in class org.antlr.runtime.ANTLRStringStream
-
Return the current input symbol index 0..n where n indicates the last symbol has been read.
- index() - Method in class org.antlr.runtime.BufferedTokenStream
- index() - Method in class org.antlr.runtime.debug.DebugTokenStream
- index() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- index() - Method in interface org.antlr.runtime.IntStream
-
Return the current input symbol index 0..n where n indicates the last symbol has been read.
- index() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- index() - Method in class org.antlr.runtime.misc.LookaheadStream
- index() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- index(Object) - Method in class org.antlr.runtime.tree.TreeWizard
-
Walk the entire tree and make a node name to nodes mapping.
- init() - Method in class org.antlr.runtime.TokenRewriteStream
- INITIAL_BUFFER_SIZE - Static variable in class org.antlr.runtime.ANTLRReaderStream
- INITIAL_CALL_STACK_SIZE - Static variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
- INITIAL_CALL_STACK_SIZE - Static variable in class org.antlr.runtime.tree.CommonTreeNodeStream
- INITIAL_FOLLOW_STACK_SIZE - Static variable in class org.antlr.runtime.BaseRecognizer
- INITIAL_SIZE - Static variable in class org.antlr.runtime.misc.IntArray
- initialStreamState - Variable in class org.antlr.runtime.debug.DebugTokenStream
- initialStreamState - Variable in class org.antlr.runtime.debug.DebugTreeNodeStream
- input - Variable in class org.antlr.runtime.CommonToken
- input - Variable in class org.antlr.runtime.debug.DebugTokenStream
- input - Variable in class org.antlr.runtime.debug.DebugTreeNodeStream
- input - Variable in class org.antlr.runtime.debug.Tracer
- input - Variable in class org.antlr.runtime.Lexer
-
Where is the lexer drawing characters from?
- input - Variable in class org.antlr.runtime.Parser
- input - Variable in exception org.antlr.runtime.RecognitionException
-
What input stream did the error occur in?
- input - Variable in class org.antlr.runtime.tree.CommonErrorNode
- input - Variable in class org.antlr.runtime.tree.TreeParser
- insertAfter(int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertAfter(String, int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertAfter(String, Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertAfter(Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertBefore(int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertBefore(String, int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertBefore(String, Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertBefore(Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- insertChild(int, Object) - Method in class org.antlr.runtime.tree.BaseTree
-
Insert child t at child position i (0..n-1) by shifting children i+1..n-1 to the right one position.
- inserted - Variable in exception org.antlr.runtime.MissingTokenException
- instructionIndex - Variable in class org.antlr.runtime.TokenRewriteStream.RewriteOperation
-
What index into rewrites List are we?
- IntArray - Class in org.antlr.runtime.misc
-
A dynamic array that uses int not Integer objects.
- IntArray() - Constructor for class org.antlr.runtime.misc.IntArray
- IntStream - Interface in org.antlr.runtime
-
A simple stream of integers used when all I care about is the char or token type sequence (such as interpretation).
- INVALID_NODE - Static variable in interface org.antlr.runtime.tree.Tree
- INVALID_TOKEN - Static variable in interface org.antlr.runtime.Token
- INVALID_TOKEN_TYPE - Static variable in interface org.antlr.runtime.Token
- isCyclicDecision - Variable in class org.antlr.runtime.debug.DebugParser
-
Used to differentiate between fixed lookahead and cyclic DFA decisions while profiling.
- isCyclicDecision - Variable in class org.antlr.runtime.debug.DebugTreeParser
-
Used to differentiate between fixed lookahead and cyclic DFA decisions while profiling.
- isEOF(Object) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- isEOF(Token) - Method in class org.antlr.runtime.UnbufferedTokenStream
- isEOF(T) - Method in class org.antlr.runtime.misc.LookaheadStream
- isNil() - Method in class org.antlr.runtime.BitSet
- isNil() - Method in class org.antlr.runtime.tree.BaseTree
- isNil() - Method in class org.antlr.runtime.tree.CommonErrorNode
- isNil() - Method in class org.antlr.runtime.tree.CommonTree
- isNil() - Method in interface org.antlr.runtime.tree.Tree
-
Indicates the node is a nil node but may still have children, meaning the tree is a flat list.
- isNil(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- isNil(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- isNil(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Is tree considered a nil node used to make lists of child nodes?
- it - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
The
TreeIterator
we using. - iterator() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
K
- k - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- keySet() - Method in class org.antlr.runtime.misc.DoubleKeyMap
-
get all primary keys
- keySet(Key1) - Method in class org.antlr.runtime.misc.DoubleKeyMap
-
get all secondary keys associated with a primary key
L
- LA(int) - Method in class org.antlr.runtime.ANTLRStringStream
- LA(int) - Method in class org.antlr.runtime.BufferedTokenStream
- LA(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- LA(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- LA(int) - Method in interface org.antlr.runtime.IntStream
-
Get int at current input pointer + i ahead where i=1 is next int.
- LA(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- LA(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- LA(int) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- LA(int) - Method in class org.antlr.runtime.UnbufferedTokenStream
- label - Variable in class org.antlr.runtime.tree.TreeWizard.TreePattern
- lastErrorIndex - Variable in class org.antlr.runtime.RecognizerSharedState
-
The index into the input stream where the last error occurred.
- lastMarker - Variable in class org.antlr.runtime.ANTLRStringStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.BufferedTokenStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.debug.DebugTokenStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.debug.DebugTreeNodeStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.misc.LookaheadStream
-
Track the last mark() call result value for use in rewind().
- lastMarker - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Track the last mark() call result value for use in rewind().
- lastRealTokenTouchedInDecision - Variable in class org.antlr.runtime.debug.Profiler
- lastRewriteTokenIndexes - Variable in class org.antlr.runtime.TokenRewriteStream
-
Map String (program name) → Integer index
- LB(int) - Method in class org.antlr.runtime.BufferedTokenStream
- LB(int) - Method in class org.antlr.runtime.CommonTokenStream
- LB(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Look backwards k tokens on-channel tokens
- LB(int) - Method in class org.antlr.runtime.misc.LookaheadStream
- LB(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Look backwards k nodes
- LegacyCommonTokenStream - Class in org.antlr.runtime
-
The most common stream of tokens is one where every token is buffered up and tokens are prefiltered for a certain channel (the parser will only see these tokens and cannot change the filter channel number during the parse).
- LegacyCommonTokenStream() - Constructor for class org.antlr.runtime.LegacyCommonTokenStream
- LegacyCommonTokenStream(TokenSource) - Constructor for class org.antlr.runtime.LegacyCommonTokenStream
- LegacyCommonTokenStream(TokenSource, int) - Constructor for class org.antlr.runtime.LegacyCommonTokenStream
- lengthInLongWords() - Method in class org.antlr.runtime.BitSet
-
return how much space is being used by the bits array not how many actually have member bits on.
- level - Variable in class org.antlr.runtime.debug.Tracer
- level - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Tracks tree depth.
- Lexer - Class in org.antlr.runtime
-
A lexer is recognizer that draws input symbols from a character stream.
- Lexer() - Constructor for class org.antlr.runtime.Lexer
- Lexer(CharStream) - Constructor for class org.antlr.runtime.Lexer
- Lexer(CharStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.Lexer
- line - Variable in class org.antlr.runtime.ANTLRStringStream
-
line number 1..n within the input
- line - Variable in class org.antlr.runtime.ClassicToken
- line - Variable in class org.antlr.runtime.CommonToken
- line - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- line - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- line - Variable in exception org.antlr.runtime.RecognitionException
-
Track the line at which the error occurred in case this is generated from a lexer.
- listener - Variable in class org.antlr.runtime.debug.DebugEventRepeater
- listeners - Variable in class org.antlr.runtime.debug.DebugEventHub
- load(Reader, int, int) - Method in class org.antlr.runtime.ANTLRReaderStream
- load(String, String) - Method in class org.antlr.runtime.ANTLRFileStream
- location(int, int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- location(int, int) - Method in class org.antlr.runtime.debug.DebugEventHub
- location(int, int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
To watch a parser move through the grammar, the parser needs to inform the debugger what line/charPos it is passing in the grammar.
- location(int, int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- location(int, int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- location(int, int) - Method in class org.antlr.runtime.debug.Profiler
- location(int, int) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- locationDescription() - Method in class org.antlr.runtime.debug.Profiler
- locationDescription(String, String, int, int) - Method in class org.antlr.runtime.debug.Profiler
- LOG_BITS - Static variable in class org.antlr.runtime.BitSet
- LookaheadStream<T> - Class in org.antlr.runtime.misc
-
A lookahead queue that knows how to mark/release locations in the buffer for backtracking purposes.
- LookaheadStream() - Constructor for class org.antlr.runtime.misc.LookaheadStream
- LT(int) - Method in class org.antlr.runtime.ANTLRStringStream
- LT(int) - Method in class org.antlr.runtime.BufferedTokenStream
- LT(int) - Method in interface org.antlr.runtime.CharStream
-
Get the ith character of lookahead.
- LT(int) - Method in class org.antlr.runtime.CommonTokenStream
- LT(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- LT(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- LT(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Get the ith token from the current position 1..n where k=1 is the first symbol of lookahead.
- LT(int) - Method in class org.antlr.runtime.misc.LookaheadStream
- LT(int) - Method in interface org.antlr.runtime.TokenStream
-
Get Token at current input pointer + i ahead where i=1 is next Token.
- LT(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- LT(int) - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Get tree node at current input pointer +
k
ahead wherek==1
is next node. - LT(int, Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- LT(int, Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- LT(int, Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
The tree parser lookedahead.
- LT(int, Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- LT(int, Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- LT(int, Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- LT(int, Token) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- LT(int, Token) - Method in class org.antlr.runtime.debug.DebugEventHub
- LT(int, Token) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Somebody (anybody) looked ahead.
- LT(int, Token) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- LT(int, Token) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- LT(int, Token) - Method in class org.antlr.runtime.debug.Profiler
-
Track refs to lookahead if in a fixed/nonfixed decision.
M
- mark() - Method in class org.antlr.runtime.ANTLRStringStream
- mark() - Method in class org.antlr.runtime.BufferedTokenStream
- mark() - Method in class org.antlr.runtime.debug.DebugTokenStream
- mark() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- mark() - Method in interface org.antlr.runtime.IntStream
-
Tell the stream to start buffering if it hasn't already.
- mark() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- mark() - Method in class org.antlr.runtime.misc.LookaheadStream
- mark() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- mark(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- mark(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- mark(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
The parser is going to look arbitrarily ahead; mark this location, the token stream's marker is sent in case you need it.
- mark(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- mark(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- mark(int) - Method in class org.antlr.runtime.debug.Profiler
- markDepth - Variable in class org.antlr.runtime.ANTLRStringStream
-
tracks how deep mark() calls are nested
- markDepth - Variable in class org.antlr.runtime.misc.LookaheadStream
-
tracks how deep mark() calls are nested
- markers - Variable in class org.antlr.runtime.ANTLRStringStream
-
A list of CharStreamState objects that tracks the stream state values line, charPositionInLine, and p that can change as you move through the input stream.
- match(int) - Method in class org.antlr.runtime.Lexer
- match(String) - Method in class org.antlr.runtime.Lexer
- match(IntStream, int, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Match current input symbol against ttype.
- matchAny() - Method in class org.antlr.runtime.Lexer
- matchAny(IntStream) - Method in class org.antlr.runtime.BaseRecognizer
-
Match the wildcard: in a symbol
- matchAny(IntStream) - Method in class org.antlr.runtime.tree.TreeParser
-
Match '.' in tree parser has special meaning.
- matchRange(int, int) - Method in class org.antlr.runtime.Lexer
- max - Variable in class org.antlr.runtime.DFA
- max(int[]) - Static method in class org.antlr.runtime.misc.Stats
- max(List<Integer>) - Static method in class org.antlr.runtime.misc.Stats
- maxDecisionMaxCyclicLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- maxDecisionMaxFixedLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- maxk - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- maxRuleInvocationDepth - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- member(int) - Method in class org.antlr.runtime.BitSet
- MEMO_RULE_FAILED - Static variable in class org.antlr.runtime.BaseRecognizer
- MEMO_RULE_UNKNOWN - Static variable in class org.antlr.runtime.BaseRecognizer
- memoize(IntStream, int, int) - Method in class org.antlr.runtime.BaseRecognizer
-
Record whether or not this rule parsed the input at this position successfully.
- memoize(IntStream, int, int, String) - Method in class org.antlr.runtime.debug.Profiler
-
Warning: doesn't track success/failure, just unique recording event
- min - Variable in class org.antlr.runtime.DFA
- min(int[]) - Static method in class org.antlr.runtime.misc.Stats
- min(List<Integer>) - Static method in class org.antlr.runtime.misc.Stats
- MIN_TOKEN_INDEX - Static variable in class org.antlr.runtime.TokenRewriteStream
- MIN_TOKEN_TYPE - Static variable in interface org.antlr.runtime.Token
- minDecisionMaxCyclicLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- minDecisionMaxFixedLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- MismatchedNotSetException - Exception in org.antlr.runtime
- MismatchedNotSetException() - Constructor for exception org.antlr.runtime.MismatchedNotSetException
-
Used for remote debugger deserialization
- MismatchedNotSetException(BitSet, IntStream) - Constructor for exception org.antlr.runtime.MismatchedNotSetException
- MismatchedRangeException - Exception in org.antlr.runtime
- MismatchedRangeException() - Constructor for exception org.antlr.runtime.MismatchedRangeException
-
Used for remote debugger deserialization
- MismatchedRangeException(int, int, IntStream) - Constructor for exception org.antlr.runtime.MismatchedRangeException
- MismatchedSetException - Exception in org.antlr.runtime
- MismatchedSetException() - Constructor for exception org.antlr.runtime.MismatchedSetException
-
Used for remote debugger deserialization
- MismatchedSetException(BitSet, IntStream) - Constructor for exception org.antlr.runtime.MismatchedSetException
- MismatchedTokenException - Exception in org.antlr.runtime
-
A mismatched char or Token or tree node
- MismatchedTokenException() - Constructor for exception org.antlr.runtime.MismatchedTokenException
-
Used for remote debugger deserialization
- MismatchedTokenException(int, IntStream) - Constructor for exception org.antlr.runtime.MismatchedTokenException
- MismatchedTreeNodeException - Exception in org.antlr.runtime
- MismatchedTreeNodeException() - Constructor for exception org.antlr.runtime.MismatchedTreeNodeException
- MismatchedTreeNodeException(int, TreeNodeStream) - Constructor for exception org.antlr.runtime.MismatchedTreeNodeException
- mismatchIsMissingToken(IntStream, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
- mismatchIsUnwantedToken(IntStream, int) - Method in class org.antlr.runtime.BaseRecognizer
- MissingTokenException - Exception in org.antlr.runtime
-
We were expecting a token but it's not found.
- MissingTokenException() - Constructor for exception org.antlr.runtime.MissingTokenException
-
Used for remote debugger deserialization
- MissingTokenException(int, IntStream, Object) - Constructor for exception org.antlr.runtime.MissingTokenException
- MOD_MASK - Static variable in class org.antlr.runtime.BitSet
- mTokens() - Method in class org.antlr.runtime.Lexer
-
This is the lexer entry point that sets instance var 'token'
N
- n - Variable in class org.antlr.runtime.ANTLRStringStream
-
How many characters are actually in the buffer
- n - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- n - Variable in class org.antlr.runtime.tree.TreePatternLexer
-
How long is the pattern in char?
- name - Variable in class org.antlr.runtime.ANTLRStringStream
-
What is name or source of this char stream?
- name - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- name - Variable in class org.antlr.runtime.SerializedGrammar
- newline - Static variable in class org.antlr.runtime.debug.Profiler
- next() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream.StreamIterator
- next() - Method in class org.antlr.runtime.tree.TreeIterator
- NEXT_TOKEN_RULE_NAME - Static variable in class org.antlr.runtime.BaseRecognizer
- nextElement() - Method in class org.antlr.runtime.misc.LookaheadStream
-
Implement nextElement to supply a stream of elements to this lookahead buffer.
- nextElement() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Pull elements from tree iterator.
- nextElement() - Method in class org.antlr.runtime.UnbufferedTokenStream
- nextNode() - Method in class org.antlr.runtime.tree.RewriteRuleNodeStream
- nextNode() - Method in class org.antlr.runtime.tree.RewriteRuleSubtreeStream
-
Treat next element as a single node even if it's a subtree.
- nextNode() - Method in class org.antlr.runtime.tree.RewriteRuleTokenStream
-
Get next token from stream and make a node for it
- nextToken() - Method in class org.antlr.runtime.Lexer
-
Return a token from this source; i.e., match a token on the char stream.
- nextToken() - Method in interface org.antlr.runtime.TokenSource
-
Return a Token object from your input stream (usually a CharStream).
- nextToken() - Method in class org.antlr.runtime.tree.RewriteRuleTokenStream
- nextToken() - Method in class org.antlr.runtime.tree.TreePatternLexer
- nextTree() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Return the next element in the stream.
- nil() - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- nil() - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- nil() - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Return a nil node (an empty but non-null node) that can hold a list of element as the children.
- nilNode(Object) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- nilNode(Object) - Method in class org.antlr.runtime.debug.DebugEventHub
- nilNode(Object) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
A nil was created (even nil nodes have a unique ID...
- nilNode(Object) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- nilNode(Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- nilNode(Object) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- node - Variable in exception org.antlr.runtime.RecognitionException
-
If this is a tree parser exception, node is set to the node with the problem.
- Node() - Constructor for class org.antlr.runtime.SerializedGrammar.Node
- nodes - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
The complete mapping from stream index to tree node.
- nodes - Variable in class org.antlr.runtime.tree.TreeIterator
-
If we emit UP/DOWN nodes, we need to spit out multiple nodes per next() call.
- noViableAlt(int, IntStream) - Method in class org.antlr.runtime.DFA
- NoViableAltException - Exception in org.antlr.runtime
- NoViableAltException() - Constructor for exception org.antlr.runtime.NoViableAltException
-
Used for remote debugger deserialization
- NoViableAltException(String, int, int, IntStream) - Constructor for exception org.antlr.runtime.NoViableAltException
- numBacktrackOccurrences - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- numBacktrackOccurrences - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numBits() - Method in class org.antlr.runtime.BitSet
- numCharsMatched - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numCyclicDecisions - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numDecisionEvents - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numDecisionsCovered - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numDecisionsThatDoBacktrack - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numDecisionsThatPotentiallyBacktrack - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numFixedDecisions - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numGuessingRuleInvocations - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numHiddenCharsMatched - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numHiddenTokens - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numMemoizationCacheEntries - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numMemoizationCacheHits - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- numMemoizationCacheHits - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numMemoizationCacheMisses - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- numMemoizationCacheMisses - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numReportedErrors - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numRuleInvocations - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numSemanticPredicates - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numSemPredEvals - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- numTokens - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- numUniqueRulesInvoked - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
O
- of(int) - Static method in class org.antlr.runtime.BitSet
- of(int, int) - Static method in class org.antlr.runtime.BitSet
- of(int, int, int) - Static method in class org.antlr.runtime.BitSet
- of(int, int, int, int) - Static method in class org.antlr.runtime.BitSet
- openConnection() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- or(BitSet) - Method in class org.antlr.runtime.BitSet
-
return this | a in a new set
- org.antlr.runtime - package org.antlr.runtime
- org.antlr.runtime.debug - package org.antlr.runtime.debug
- org.antlr.runtime.misc - package org.antlr.runtime.misc
- org.antlr.runtime.tree - package org.antlr.runtime.tree
- originalAdaptor - Variable in class org.antlr.runtime.tree.TreeFilter
- originalAdaptor - Variable in class org.antlr.runtime.tree.TreeRewriter
- originalTokenStream - Variable in class org.antlr.runtime.tree.TreeFilter
- originalTokenStream - Variable in class org.antlr.runtime.tree.TreeRewriter
- orInPlace(BitSet) - Method in class org.antlr.runtime.BitSet
- out - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
P
- p - Variable in class org.antlr.runtime.ANTLRStringStream
-
0..n-1 index into string of next char
- p - Variable in class org.antlr.runtime.BufferedTokenStream
-
The index into the tokens list of the current token (next token to consume).
- p - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
The index into the tokens list of the current token (next token to consume).
- p - Variable in class org.antlr.runtime.misc.FastQueue
-
index of next element to fill
- p - Variable in class org.antlr.runtime.misc.IntArray
- p - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
The index into the nodes list of the current node (next node to consume).
- p - Variable in class org.antlr.runtime.tree.TreePatternLexer
-
Index into input string
- parent - Variable in class org.antlr.runtime.tree.CommonTree
-
Who is the parent node of this node; if null, implies node is root
- parse(Object, String) - Method in class org.antlr.runtime.tree.TreeWizard
- parse(Object, String, Map<String, Object>) - Method in class org.antlr.runtime.tree.TreeWizard
-
Given a pattern like (ASSIGN %lhs:ID %rhs:.) with optional labels on the various nodes and '.' (dot) as the node/subtree wildcard, return true if the pattern matches and fill the labels Map with the labels pointing at the appropriate nodes.
- parseNode() - Method in class org.antlr.runtime.tree.TreePatternParser
- parser - Variable in class org.antlr.runtime.debug.Profiler
-
Ack, should not store parser; can't do remote stuff.
- Parser - Class in org.antlr.runtime
-
A parser for TokenStreams.
- Parser(TokenStream) - Constructor for class org.antlr.runtime.Parser
- Parser(TokenStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.Parser
- ParserRuleReturnScope - Class in org.antlr.runtime
-
Rules that return more than a single value must return an object containing all the values.
- ParserRuleReturnScope() - Constructor for class org.antlr.runtime.ParserRuleReturnScope
- parseTree() - Method in class org.antlr.runtime.tree.TreePatternParser
- ParseTree - Class in org.antlr.runtime.tree
-
A record of the rules used to match a token sequence.
- ParseTree(Object) - Constructor for class org.antlr.runtime.tree.ParseTree
- ParseTreeBuilder - Class in org.antlr.runtime.debug
-
This parser listener tracks rule entry/exit and token matches to build a simple parse tree using ParseTree nodes.
- ParseTreeBuilder(String) - Constructor for class org.antlr.runtime.debug.ParseTreeBuilder
- pattern - Variable in class org.antlr.runtime.tree.TreePatternLexer
-
The tree pattern to lex like "(A B C)"
- pattern() - Method in class org.antlr.runtime.tree.TreePatternParser
- payload - Variable in class org.antlr.runtime.tree.ParseTree
- PERCENT - Static variable in class org.antlr.runtime.tree.TreePatternLexer
- pop() - Method in class org.antlr.runtime.misc.IntArray
- pop() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Seek back to previous index saved during last push() call.
- pop() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Seek back to previous index saved during last
CommonTreeNodeStream.push(int)
call. - port - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- pos - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- PositionTrackingStream<T> - Interface in org.antlr.runtime.tree
- post(Object) - Method in interface org.antlr.runtime.tree.TreeVisitorAction
-
Execute an action after visiting children of t.
- pre(Object) - Method in interface org.antlr.runtime.tree.TreeVisitorAction
-
Execute an action before visiting children of t.
- predicateText - Variable in exception org.antlr.runtime.FailedPredicateException
- predict(IntStream) - Method in class org.antlr.runtime.DFA
-
From the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL).
- prevElement - Variable in class org.antlr.runtime.misc.LookaheadStream
-
This is the
LT(-1)
element for the first element inFastQueue.data
. - previousLocationElement - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Tracks the last node before the start of
FastQueue.data
which contains position information to provide information for error reporting. - Profiler - Class in org.antlr.runtime.debug
-
Using the debug event interface, track what is happening in the parser and record statistics about the runtime.
- Profiler() - Constructor for class org.antlr.runtime.debug.Profiler
- Profiler(DebugParser) - Constructor for class org.antlr.runtime.debug.Profiler
- Profiler.DecisionDescriptor - Class in org.antlr.runtime.debug
- Profiler.DecisionEvent - Class in org.antlr.runtime.debug
- Profiler.ProfileStats - Class in org.antlr.runtime.debug
- ProfileStats() - Constructor for class org.antlr.runtime.debug.Profiler.ProfileStats
- PROGRAM_INIT_SIZE - Static variable in class org.antlr.runtime.TokenRewriteStream
- programs - Variable in class org.antlr.runtime.TokenRewriteStream
-
You may have multiple, named streams of rewrite operations.
- PROTOCOL_VERSION - Static variable in interface org.antlr.runtime.debug.DebugEventListener
-
Moved to version 2 for v3.1: added grammar name to enter/exit Rule
- ProxyToken(int) - Constructor for class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- ProxyToken(int, int, int, int, int, String) - Constructor for class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- ProxyTree(int) - Constructor for class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- ProxyTree(int, int, int, int, int, String) - Constructor for class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- push(int) - Method in class org.antlr.runtime.misc.IntArray
- push(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Make stream jump to a new location, saving old location.
- push(int) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Make stream jump to a new location, saving old location.
- pushFollow(BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Push a rule's follow set using our own hardcoded stack
- put(Key1, Key2, Value) - Method in class org.antlr.runtime.misc.DoubleKeyMap
R
- range - Variable in class org.antlr.runtime.BufferedTokenStream
- range - Variable in class org.antlr.runtime.LegacyCommonTokenStream
- range - Variable in class org.antlr.runtime.misc.FastQueue
- range() - Method in class org.antlr.runtime.BufferedTokenStream
- range() - Method in class org.antlr.runtime.debug.DebugTokenStream
- range() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- range() - Method in class org.antlr.runtime.misc.FastQueue
- range() - Method in interface org.antlr.runtime.TokenStream
-
How far ahead has the stream been asked to look? The return value is a valid index from 0..n-1.
- READ_BUFFER_SIZE - Static variable in class org.antlr.runtime.ANTLRReaderStream
- readAlt(DataInputStream) - Method in class org.antlr.runtime.SerializedGrammar
- readBlock(DataInputStream) - Method in class org.antlr.runtime.SerializedGrammar
- readFile(DataInputStream) - Method in class org.antlr.runtime.SerializedGrammar
- readRule(DataInputStream) - Method in class org.antlr.runtime.SerializedGrammar
- readRules(DataInputStream, int) - Method in class org.antlr.runtime.SerializedGrammar
- readString(DataInputStream) - Method in class org.antlr.runtime.SerializedGrammar
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.DebugEventHub
- recognitionException(RecognitionException) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
A recognition exception occurred such as NoViableAltException.
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.ParseTreeBuilder
- recognitionException(RecognitionException) - Method in class org.antlr.runtime.debug.Profiler
- RecognitionException - Exception in org.antlr.runtime
-
The root of the ANTLR exception hierarchy.
- RecognitionException() - Constructor for exception org.antlr.runtime.RecognitionException
-
Used for remote debugger deserialization
- RecognitionException(IntStream) - Constructor for exception org.antlr.runtime.RecognitionException
- recognizer - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
-
Who am i debugging?
- recognizer - Variable in class org.antlr.runtime.DFA
-
Which recognizer encloses this DFA? Needed to check backtracking
- RecognizerSharedState - Class in org.antlr.runtime
-
The set of fields needed by an abstract recognizer to recognize input and recover from errors etc...
- RecognizerSharedState() - Constructor for class org.antlr.runtime.RecognizerSharedState
- RecognizerSharedState(RecognizerSharedState) - Constructor for class org.antlr.runtime.RecognizerSharedState
- recover(IntStream, RecognitionException) - Method in class org.antlr.runtime.BaseRecognizer
-
Recover from an error found on the input stream.
- recover(RecognitionException) - Method in class org.antlr.runtime.Lexer
-
Lexers can normally match any char in it's vocabulary after matching a token, so do the easy thing and just kill a character and hope it all works out.
- recoverFromMismatchedSet(IntStream, RecognitionException, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Not currently used
- recoverFromMismatchedToken(IntStream, int, BitSet) - Method in class org.antlr.runtime.BaseRecognizer
-
Attempt to recover from a single missing or extra token.
- recoverFromMismatchedToken(IntStream, int, BitSet) - Method in class org.antlr.runtime.tree.TreeParser
-
We have DOWN/UP nodes in the stream that have no line info; override.
- reduceToSingleOperationPerIndex(List<? extends TokenRewriteStream.RewriteOperation>) - Method in class org.antlr.runtime.TokenRewriteStream
-
We need to combine operations and report invalid operations (like overlapping replaces that are not completed nested).
- release(int) - Method in class org.antlr.runtime.ANTLRStringStream
- release(int) - Method in class org.antlr.runtime.BufferedTokenStream
- release(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- release(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- release(int) - Method in interface org.antlr.runtime.IntStream
-
You may want to commit to a backtrack but don't want to force the stream to keep bookkeeping objects around for a marker that is no longer necessary.
- release(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- release(int) - Method in class org.antlr.runtime.misc.LookaheadStream
- release(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- RemoteDebugEventSocketListener - Class in org.antlr.runtime.debug
- RemoteDebugEventSocketListener(DebugEventListener, String, int) - Constructor for class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- RemoteDebugEventSocketListener.ProxyToken - Class in org.antlr.runtime.debug
- RemoteDebugEventSocketListener.ProxyTree - Class in org.antlr.runtime.debug
- remove() - Method in class org.antlr.runtime.misc.FastQueue
-
Get and remove first element in queue
- remove() - Method in class org.antlr.runtime.misc.LookaheadStream
-
Get and remove first element in queue; override
FastQueue.remove()
; it's the same, just checks for backtracking. - remove() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream.StreamIterator
- remove() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- remove() - Method in class org.antlr.runtime.tree.TreeIterator
- remove(int) - Method in class org.antlr.runtime.BitSet
- replace(int, int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replace(int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replace(String, int, int, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replace(String, Token, Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replace(Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replace(Token, Token, Object) - Method in class org.antlr.runtime.TokenRewriteStream
- replaceChildren(int, int, Object) - Method in class org.antlr.runtime.tree.BaseTree
-
Delete children from start to stop and replace with t even if t is a list (nil-root tree).
- replaceChildren(int, int, Object) - Method in interface org.antlr.runtime.tree.Tree
-
Delete children from start to stop and replace with t even if t is a list (nil-root tree).
- replaceChildren(Object, int, int, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- replaceChildren(Object, int, int, Object) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- replaceChildren(Object, int, int, Object) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- replaceChildren(Object, int, int, Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- replaceChildren(Object, int, int, Object) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- replaceChildren(Object, int, int, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Replace from start to stop child index of parent with t, which might be a list.
- replaceChildren(Object, int, int, Object) - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Replace children of
parent
from indexstartChildIndex
tostopChildIndex
witht
, which might be a list. - reportError(IOException) - Method in class org.antlr.runtime.debug.DebugParser
- reportError(IOException) - Method in class org.antlr.runtime.debug.DebugTreeParser
- reportError(RecognitionException) - Method in class org.antlr.runtime.BaseRecognizer
-
Report a recognition problem.
- reportError(RecognitionException) - Method in class org.antlr.runtime.debug.DebugParser
- reportError(RecognitionException) - Method in class org.antlr.runtime.debug.DebugTreeParser
- reportError(RecognitionException) - Method in class org.antlr.runtime.Lexer
- reportTransformation(Object, Object) - Method in class org.antlr.runtime.tree.TreeRewriter
-
Override this if you need transformation tracing to go somewhere other than stdout or if you're not using Tree-derived trees.
- reset() - Method in class org.antlr.runtime.ANTLRStringStream
-
Reset the stream so that it's in the same state it was when the object was created *except* the data array is not touched.
- reset() - Method in class org.antlr.runtime.BaseRecognizer
-
reset the parser's state; subclasses must rewinds the input stream
- reset() - Method in class org.antlr.runtime.BufferedTokenStream
- reset() - Method in class org.antlr.runtime.CommonTokenStream
- reset() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- reset() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- reset() - Method in class org.antlr.runtime.Lexer
- reset() - Method in class org.antlr.runtime.misc.FastQueue
- reset() - Method in class org.antlr.runtime.misc.LookaheadStream
- reset() - Method in class org.antlr.runtime.Parser
- reset() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- reset() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- reset() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Reset the condition of this stream so that it appears we have not consumed any of its elements.
- reset() - Method in class org.antlr.runtime.tree.TreeIterator
- reset() - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Reset the tree node stream in such a way that it acts like a freshly constructed stream.
- reset() - Method in class org.antlr.runtime.tree.TreeParser
- rewind() - Method in class org.antlr.runtime.ANTLRStringStream
- rewind() - Method in class org.antlr.runtime.BufferedTokenStream
- rewind() - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- rewind() - Method in class org.antlr.runtime.debug.DebugEventHub
- rewind() - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Rewind to the input position of the last marker.
- rewind() - Method in class org.antlr.runtime.debug.DebugEventRepeater
- rewind() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- rewind() - Method in class org.antlr.runtime.debug.DebugTokenStream
- rewind() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- rewind() - Method in class org.antlr.runtime.debug.Profiler
- rewind() - Method in interface org.antlr.runtime.IntStream
-
Rewind to the input position of the last marker.
- rewind() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- rewind() - Method in class org.antlr.runtime.misc.LookaheadStream
- rewind() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- rewind(int) - Method in class org.antlr.runtime.ANTLRStringStream
- rewind(int) - Method in class org.antlr.runtime.BufferedTokenStream
- rewind(int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- rewind(int) - Method in class org.antlr.runtime.debug.DebugEventHub
- rewind(int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
After an arbitrairly long lookahead as with a cyclic DFA (or with any backtrack), this informs the debugger that stream should be rewound to the position associated with marker.
- rewind(int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- rewind(int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- rewind(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- rewind(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- rewind(int) - Method in class org.antlr.runtime.debug.Profiler
- rewind(int) - Method in interface org.antlr.runtime.IntStream
-
Reset the stream so that next call to index would return marker.
- rewind(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- rewind(int) - Method in class org.antlr.runtime.misc.LookaheadStream
- rewind(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- RewriteCardinalityException - Exception in org.antlr.runtime.tree
-
Base class for all exceptions thrown during AST rewrite construction.
- RewriteCardinalityException(String) - Constructor for exception org.antlr.runtime.tree.RewriteCardinalityException
- RewriteEarlyExitException - Exception in org.antlr.runtime.tree
-
No elements within a (...)+ in a rewrite rule
- RewriteEarlyExitException() - Constructor for exception org.antlr.runtime.tree.RewriteEarlyExitException
- RewriteEarlyExitException(String) - Constructor for exception org.antlr.runtime.tree.RewriteEarlyExitException
- RewriteEmptyStreamException - Exception in org.antlr.runtime.tree
-
Ref to ID or expr but no tokens in ID stream or subtrees in expr stream
- RewriteEmptyStreamException(String) - Constructor for exception org.antlr.runtime.tree.RewriteEmptyStreamException
- RewriteOperation(int) - Constructor for class org.antlr.runtime.TokenRewriteStream.RewriteOperation
- RewriteOperation(int, Object) - Constructor for class org.antlr.runtime.TokenRewriteStream.RewriteOperation
- RewriteRuleElementStream - Class in org.antlr.runtime.tree
-
A generic list of elements tracked in an alternative to be used in a -> rewrite rule.
- RewriteRuleElementStream(TreeAdaptor, String) - Constructor for class org.antlr.runtime.tree.RewriteRuleElementStream
- RewriteRuleElementStream(TreeAdaptor, String, Object) - Constructor for class org.antlr.runtime.tree.RewriteRuleElementStream
-
Create a stream with one element
- RewriteRuleElementStream(TreeAdaptor, String, List<Object>) - Constructor for class org.antlr.runtime.tree.RewriteRuleElementStream
-
Create a stream, but feed off an existing list
- RewriteRuleNodeStream - Class in org.antlr.runtime.tree
-
Queues up nodes matched on left side of -> in a tree parser.
- RewriteRuleNodeStream(TreeAdaptor, String) - Constructor for class org.antlr.runtime.tree.RewriteRuleNodeStream
- RewriteRuleNodeStream(TreeAdaptor, String, Object) - Constructor for class org.antlr.runtime.tree.RewriteRuleNodeStream
-
Create a stream with one element
- RewriteRuleNodeStream(TreeAdaptor, String, List<Object>) - Constructor for class org.antlr.runtime.tree.RewriteRuleNodeStream
-
Create a stream, but feed off an existing list
- RewriteRuleSubtreeStream - Class in org.antlr.runtime.tree
- RewriteRuleSubtreeStream(TreeAdaptor, String) - Constructor for class org.antlr.runtime.tree.RewriteRuleSubtreeStream
- RewriteRuleSubtreeStream(TreeAdaptor, String, Object) - Constructor for class org.antlr.runtime.tree.RewriteRuleSubtreeStream
-
Create a stream with one element
- RewriteRuleSubtreeStream(TreeAdaptor, String, List<Object>) - Constructor for class org.antlr.runtime.tree.RewriteRuleSubtreeStream
-
Create a stream, but feed off an existing list
- RewriteRuleTokenStream - Class in org.antlr.runtime.tree
- RewriteRuleTokenStream(TreeAdaptor, String) - Constructor for class org.antlr.runtime.tree.RewriteRuleTokenStream
- RewriteRuleTokenStream(TreeAdaptor, String, Object) - Constructor for class org.antlr.runtime.tree.RewriteRuleTokenStream
-
Create a stream with one element
- RewriteRuleTokenStream(TreeAdaptor, String, List<Object>) - Constructor for class org.antlr.runtime.tree.RewriteRuleTokenStream
-
Create a stream, but feed off an existing list
- rollback(int) - Method in class org.antlr.runtime.TokenRewriteStream
- rollback(String, int) - Method in class org.antlr.runtime.TokenRewriteStream
-
Rollback the instruction stream for a program so that the indicated instruction (via instructionIndex) is no longer in the stream.
- root - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Pull nodes from which tree?
- root - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
Pull nodes from which tree?
- root - Variable in class org.antlr.runtime.tree.TreeIterator
- rule() - Method in interface org.antlr.runtime.tree.TreeFilter.fptr
- rule() - Method in interface org.antlr.runtime.tree.TreeRewriter.fptr
- Rule(String, SerializedGrammar.Block) - Constructor for class org.antlr.runtime.SerializedGrammar.Rule
- ruleLevel - Variable in class org.antlr.runtime.debug.Profiler
- ruleMemo - Variable in class org.antlr.runtime.RecognizerSharedState
-
An array[size num rules] of Map<Integer,Integer> that tracks the stop token index for each rule.
- ruleName - Variable in class org.antlr.runtime.debug.Profiler.DecisionDescriptor
- ruleName - Variable in exception org.antlr.runtime.FailedPredicateException
- rulePostProcessing(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- rulePostProcessing(Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
-
Transform ^(nil x) to x and nil to null
- rulePostProcessing(Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Given the root of the subtree created for this rule, post process it to do any simplifications or whatever you want.
- RuleRef(int) - Constructor for class org.antlr.runtime.SerializedGrammar.RuleRef
- RuleReturnScope - Class in org.antlr.runtime
-
Rules can return start/stop info as well as possible trees and templates
- RuleReturnScope() - Constructor for class org.antlr.runtime.RuleReturnScope
- rules - Variable in class org.antlr.runtime.SerializedGrammar
- run() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- RUNTIME_STATS_FILENAME - Static variable in class org.antlr.runtime.debug.Profiler
S
- sanityCheckParentAndChildIndexes() - Method in class org.antlr.runtime.tree.BaseTree
- sanityCheckParentAndChildIndexes(Tree, int) - Method in class org.antlr.runtime.tree.BaseTree
- seek(int) - Method in class org.antlr.runtime.ANTLRStringStream
-
consume() ahead until p==index; can't just set p=index as we must update line and charPositionInLine.
- seek(int) - Method in class org.antlr.runtime.BufferedTokenStream
- seek(int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- seek(int) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- seek(int) - Method in interface org.antlr.runtime.IntStream
-
Set the input cursor to the position indicated by index.
- seek(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- seek(int) - Method in class org.antlr.runtime.misc.LookaheadStream
-
Seek to a 0-indexed absolute token index.
- seek(int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- semanticPredicate(boolean, String) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- semanticPredicate(boolean, String) - Method in class org.antlr.runtime.debug.DebugEventHub
- semanticPredicate(boolean, String) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
A semantic predicate was evaluate with this result and action text
- semanticPredicate(boolean, String) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- semanticPredicate(boolean, String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- semanticPredicate(boolean, String) - Method in class org.antlr.runtime.debug.Profiler
- SerializedGrammar - Class in org.antlr.runtime
- SerializedGrammar(String) - Constructor for class org.antlr.runtime.SerializedGrammar
- SerializedGrammar.Block - Class in org.antlr.runtime
- SerializedGrammar.Node - Class in org.antlr.runtime
- SerializedGrammar.Rule - Class in org.antlr.runtime
- SerializedGrammar.RuleRef - Class in org.antlr.runtime
- SerializedGrammar.TokenRef - Class in org.antlr.runtime
- serializeNode(StringBuffer, Object) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- serializeText(StringBuffer, String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- serializeToken(Token) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- serverSocket - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- setBacktrackingLevel(int) - Method in class org.antlr.runtime.BaseRecognizer
- setChannel(int) - Method in class org.antlr.runtime.ClassicToken
- setChannel(int) - Method in class org.antlr.runtime.CommonToken
- setChannel(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setChannel(int) - Method in interface org.antlr.runtime.Token
- setCharPositionInLine(int) - Method in class org.antlr.runtime.ANTLRStringStream
- setCharPositionInLine(int) - Method in interface org.antlr.runtime.CharStream
- setCharPositionInLine(int) - Method in class org.antlr.runtime.ClassicToken
- setCharPositionInLine(int) - Method in class org.antlr.runtime.CommonToken
- setCharPositionInLine(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setCharPositionInLine(int) - Method in interface org.antlr.runtime.Token
- setCharStream(CharStream) - Method in class org.antlr.runtime.Lexer
-
Set the char stream and reset the lexer
- setChild(int, Tree) - Method in class org.antlr.runtime.tree.BaseTree
- setChild(int, Tree) - Method in interface org.antlr.runtime.tree.Tree
-
Set ith child (0..n-1) to t; t must be non-null and non-nil node
- setChild(Object, int, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setChild(Object, int, Object) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- setChild(Object, int, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Set ith child (0..n-1) to t; t must be non-null and non-nil node
- setChildIndex(int) - Method in class org.antlr.runtime.tree.BaseTree
- setChildIndex(int) - Method in class org.antlr.runtime.tree.CommonTree
- setChildIndex(int) - Method in interface org.antlr.runtime.tree.Tree
- setChildIndex(Object, int) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setChildIndex(Object, int) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- setChildIndex(Object, int) - Method in interface org.antlr.runtime.tree.TreeAdaptor
- setDebugListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugParser
-
Provide a new debug event listener for this parser.
- setDebugListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugTokenStream
- setDebugListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setDebugListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- setDebugListener(DebugEventListener) - Method in class org.antlr.runtime.debug.DebugTreeParser
-
Provide a new debug event listener for this parser.
- setInputStream(CharStream) - Method in class org.antlr.runtime.ClassicToken
- setInputStream(CharStream) - Method in class org.antlr.runtime.CommonToken
- setInputStream(CharStream) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setInputStream(CharStream) - Method in interface org.antlr.runtime.Token
- setLastRewriteTokenIndex(String, int) - Method in class org.antlr.runtime.TokenRewriteStream
- setLine(int) - Method in class org.antlr.runtime.ANTLRStringStream
- setLine(int) - Method in interface org.antlr.runtime.CharStream
-
Because this stream can rewind, we need to be able to reset the line
- setLine(int) - Method in class org.antlr.runtime.ClassicToken
- setLine(int) - Method in class org.antlr.runtime.CommonToken
- setLine(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setLine(int) - Method in interface org.antlr.runtime.Token
- setParent(Object, Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setParent(Object, Object) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
- setParent(Object, Object) - Method in interface org.antlr.runtime.tree.TreeAdaptor
- setParent(Tree) - Method in class org.antlr.runtime.tree.BaseTree
- setParent(Tree) - Method in class org.antlr.runtime.tree.CommonTree
- setParent(Tree) - Method in interface org.antlr.runtime.tree.Tree
- setParser(DebugParser) - Method in class org.antlr.runtime.debug.Profiler
- setStartIndex(int) - Method in class org.antlr.runtime.CommonToken
- setStopIndex(int) - Method in class org.antlr.runtime.CommonToken
- setText(Object, String) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setText(Object, String) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- setText(Object, String) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Node constructors can set the text of a node
- setText(String) - Method in class org.antlr.runtime.ClassicToken
- setText(String) - Method in class org.antlr.runtime.CommonToken
-
Override the text for this token.
- setText(String) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setText(String) - Method in class org.antlr.runtime.Lexer
-
Set the complete text of this token; it wipes any previous changes to the text.
- setText(String) - Method in interface org.antlr.runtime.Token
- setTokenBoundaries(Object, int, int) - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- setTokenBoundaries(Object, int, int) - Method in class org.antlr.runtime.debug.DebugEventHub
- setTokenBoundaries(Object, int, int) - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Set the token start/stop token index for a subtree root or node.
- setTokenBoundaries(Object, int, int) - Method in class org.antlr.runtime.debug.DebugEventRepeater
- setTokenBoundaries(Object, int, int) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- setTokenBoundaries(Object, int, int) - Method in class org.antlr.runtime.debug.TraceDebugEventListener
- setTokenBoundaries(Object, Token, Token) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setTokenBoundaries(Object, Token, Token) - Method in class org.antlr.runtime.tree.CommonTreeAdaptor
-
Track start/stop token for subtree root created for a rule.
- setTokenBoundaries(Object, Token, Token) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Where are the bounds in the input token stream for this node and all children? Each rule that creates AST nodes will call this method right before returning.
- setTokenIndex(int) - Method in class org.antlr.runtime.ClassicToken
- setTokenIndex(int) - Method in class org.antlr.runtime.CommonToken
- setTokenIndex(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setTokenIndex(int) - Method in interface org.antlr.runtime.Token
- setTokenSource(TokenSource) - Method in class org.antlr.runtime.BufferedTokenStream
-
Reset this token stream by setting its token source.
- setTokenSource(TokenSource) - Method in class org.antlr.runtime.CommonTokenStream
-
Reset this token stream by setting its token source.
- setTokenSource(TokenSource) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Reset this token stream by setting its token source.
- setTokenStartIndex(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- setTokenStartIndex(int) - Method in class org.antlr.runtime.tree.CommonTree
- setTokenStartIndex(int) - Method in class org.antlr.runtime.tree.ParseTree
- setTokenStartIndex(int) - Method in interface org.antlr.runtime.tree.Tree
- setTokenStopIndex(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- setTokenStopIndex(int) - Method in class org.antlr.runtime.tree.CommonTree
- setTokenStopIndex(int) - Method in class org.antlr.runtime.tree.ParseTree
- setTokenStopIndex(int) - Method in interface org.antlr.runtime.tree.Tree
- setTokenStream(TokenStream) - Method in class org.antlr.runtime.Parser
-
Set the token stream and reset the parser
- setTokenStream(TokenStream) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- setTokenStream(TokenStream) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- setTokenTypeChannel(int, int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
A simple filter mechanism whereby you can tell this token stream to force all tokens of type ttype to be on channel.
- setTreeAdaptor(TreeAdaptor) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- setTreeAdaptor(TreeAdaptor) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- setTreeAdaptor(TreeAdaptor) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- setTreeNodeStream(TreeNodeStream) - Method in class org.antlr.runtime.tree.TreeParser
-
Set the input stream
- setType(int) - Method in class org.antlr.runtime.ClassicToken
- setType(int) - Method in class org.antlr.runtime.CommonToken
- setType(int) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- setType(int) - Method in interface org.antlr.runtime.Token
- setType(Object, int) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
- setType(Object, int) - Method in class org.antlr.runtime.tree.BaseTreeAdaptor
- setType(Object, int) - Method in interface org.antlr.runtime.tree.TreeAdaptor
-
Node constructors can set the type of a node
- setUniqueNavigationNodes(boolean) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
-
It is normally this object that instructs the node stream to create unique nav nodes, but to satisfy interface, we have to define it.
- setUniqueNavigationNodes(boolean) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- setUniqueNavigationNodes(boolean) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- setUniqueNavigationNodes(boolean) - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
As we flatten the tree, we use
Token.UP
,Token.DOWN
nodes to represent the tree structure. - setUnknownTokenBoundaries() - Method in class org.antlr.runtime.tree.CommonTree
-
For every node in this subtree, make sure it's start/stop token's are set.
- setup() - Method in class org.antlr.runtime.BufferedTokenStream
- setup() - Method in class org.antlr.runtime.CommonTokenStream
- showTransformations - Variable in class org.antlr.runtime.tree.TreeRewriter
- simulateTreeConstruction(Object) - Method in class org.antlr.runtime.debug.DebugTreeAdaptor
-
^(A B C): emit create A, create B, add child, ...
- singleElement - Variable in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Track single elements w/o creating a list.
- size() - Method in class org.antlr.runtime.ANTLRStringStream
- size() - Method in class org.antlr.runtime.BitSet
- size() - Method in class org.antlr.runtime.BufferedTokenStream
- size() - Method in class org.antlr.runtime.debug.DebugTokenStream
- size() - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- size() - Method in interface org.antlr.runtime.IntStream
-
Only makes sense for streams that buffer everything up probably, but might be useful to display the entire stream or for testing.
- size() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- size() - Method in class org.antlr.runtime.misc.FastQueue
- size() - Method in class org.antlr.runtime.misc.IntArray
-
This only tracks elements added via push/add.
- size() - Method in class org.antlr.runtime.misc.LookaheadStream
-
Size of entire stream is unknown; we only know buffer size from FastQueue.
- size() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- size() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
- skip() - Method in class org.antlr.runtime.Lexer
-
Instruct the lexer to skip creating a token for current lexer rule and look for another token.
- SKIP_TOKEN - Static variable in interface org.antlr.runtime.Token
-
In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR will avoid creating a token for this symbol and try to fetch another.
- skipOffTokenChannels(int) - Method in class org.antlr.runtime.CommonTokenStream
-
Given a starting index, return the index of the first on-channel token.
- skipOffTokenChannels(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
-
Given a starting index, return the index of the first on-channel token.
- skipOffTokenChannelsReverse(int) - Method in class org.antlr.runtime.CommonTokenStream
- skipOffTokenChannelsReverse(int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- socket - Variable in class org.antlr.runtime.debug.DebugEventSocketProxy
- special - Variable in class org.antlr.runtime.DFA
- specialStateTransition(int, IntStream) - Method in class org.antlr.runtime.DFA
- start - Variable in class org.antlr.runtime.CommonToken
-
The char position into the input buffer where this token starts
- start - Variable in class org.antlr.runtime.ParserRuleReturnScope
- start - Variable in class org.antlr.runtime.tree.CommonErrorNode
- start - Variable in class org.antlr.runtime.tree.TreeRuleReturnScope
-
First node or root node of tree matched for this rule.
- start() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
-
Create a thread to listen to the remote running recognizer
- startIndex - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- startIndex - Variable in class org.antlr.runtime.tree.CommonTree
-
What token indexes bracket all tokens associated with this node and below?
- startTime - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- state - Variable in class org.antlr.runtime.BaseRecognizer
-
State of a lexer, parser, or tree parser are collected into a state object so the state can be shared.
- stateNumber - Variable in exception org.antlr.runtime.NoViableAltException
- Stats - Class in org.antlr.runtime.misc
-
Stats routines needed by profiler etc...
- Stats() - Constructor for class org.antlr.runtime.misc.Stats
- stddev(int[]) - Static method in class org.antlr.runtime.misc.Stats
-
Compute the sample (unbiased estimator) standard deviation following: Computing Deviations: Standard Accuracy Tony F.
- stddevDecisionMaxCyclicLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- stddevDecisionMaxFixedLookaheads - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- stop - Variable in class org.antlr.runtime.CommonToken
-
The char position into the input buffer where this token stops
- stop - Variable in class org.antlr.runtime.ParserRuleReturnScope
- stop - Variable in class org.antlr.runtime.tree.CommonErrorNode
- stopIndex - Variable in class org.antlr.runtime.tree.CommonTree
-
What token indexes bracket all tokens associated with this node and below?
- stopTime - Variable in class org.antlr.runtime.debug.Profiler.DecisionEvent
- StreamIterator() - Constructor for class org.antlr.runtime.tree.BufferedTreeNodeStream.StreamIterator
- substring(int, int) - Method in class org.antlr.runtime.ANTLRStringStream
- substring(int, int) - Method in interface org.antlr.runtime.CharStream
-
For infinite streams, you don't need this; primarily I'm providing a useful interface for action code.
- sum(int[]) - Static method in class org.antlr.runtime.misc.Stats
- sval - Variable in class org.antlr.runtime.tree.TreePatternLexer
-
Set when token type is ID or ARG (name mimics Java's StreamTokenizer)
- sync(int) - Method in class org.antlr.runtime.BufferedTokenStream
-
Make sure index i in tokens has a token.
- syncAhead(int) - Method in class org.antlr.runtime.misc.LookaheadStream
-
Make sure we have 'need' elements from current position p.
- syntaxErrors - Variable in class org.antlr.runtime.RecognizerSharedState
-
Did the recognizer encounter a syntax error? Track how many.
T
- terminate() - Method in class org.antlr.runtime.debug.BlankDebugEventListener
- terminate() - Method in class org.antlr.runtime.debug.DebugEventHub
- terminate() - Method in interface org.antlr.runtime.debug.DebugEventListener
-
Parsing is over; successfully or not.
- terminate() - Method in class org.antlr.runtime.debug.DebugEventRepeater
- terminate() - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- terminate() - Method in class org.antlr.runtime.debug.Profiler
- text - Variable in class org.antlr.runtime.ClassicToken
- text - Variable in class org.antlr.runtime.CommonToken
-
We need to be able to change the text once in a while.
- text - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- text - Variable in class org.antlr.runtime.RecognizerSharedState
-
You can set the text for the current token to override what is in the input char buffer.
- text - Variable in class org.antlr.runtime.TokenRewriteStream.RewriteOperation
- toArray() - Method in class org.antlr.runtime.BitSet
-
Is this contained within a?
- toArray(List<Integer>) - Method in class org.antlr.runtime.debug.Profiler
- toDebugString() - Method in class org.antlr.runtime.TokenRewriteStream
- toDebugString(int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- toDOT(Object, TreeAdaptor) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- toDOT(Object, TreeAdaptor, StringTemplate, StringTemplate) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- toDOT(Tree) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
-
Generate DOT (graphviz) for a whole tree not just a node.
- toDOTDefineEdges(Object, TreeAdaptor, StringTemplate) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- toDOTDefineNodes(Object, TreeAdaptor, StringTemplate) - Method in class org.antlr.runtime.tree.DOTTreeGenerator
- toInputString() - Method in class org.antlr.runtime.tree.ParseTree
-
Print out the leaves of this tree, which means printing original input back out.
- token - Variable in exception org.antlr.runtime.RecognitionException
-
The current Token when an error occurred.
- token - Variable in class org.antlr.runtime.RecognizerSharedState
-
The goal of all lexer rules/methods is to create a token object.
- token - Variable in class org.antlr.runtime.tree.CommonTree
-
A single token is the payload
- Token - Interface in org.antlr.runtime
- tokenIndex - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- tokenIndex - Variable in class org.antlr.runtime.UnbufferedTokenStream
- tokenIndexesAreInvalid() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- tokenizer - Variable in class org.antlr.runtime.tree.TreePatternParser
- tokenNameToTypeMap - Variable in class org.antlr.runtime.tree.TreeWizard
- TokenRef(int) - Constructor for class org.antlr.runtime.SerializedGrammar.TokenRef
- TokenRewriteStream - Class in org.antlr.runtime
-
Useful for dumping out the input stream after doing some augmentation or other manipulations.
- TokenRewriteStream() - Constructor for class org.antlr.runtime.TokenRewriteStream
- TokenRewriteStream(TokenSource) - Constructor for class org.antlr.runtime.TokenRewriteStream
- TokenRewriteStream(TokenSource, int) - Constructor for class org.antlr.runtime.TokenRewriteStream
- TokenRewriteStream.RewriteOperation - Class in org.antlr.runtime
- tokens - Variable in class org.antlr.runtime.BufferedTokenStream
-
Record every single token pulled from the source so we can reproduce chunks of it later.
- tokens - Variable in class org.antlr.runtime.LegacyCommonTokenStream
-
Record every single token pulled from the source so we can reproduce chunks of it later.
- tokens - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
IF this tree (root) was created from a token stream, track it.
- tokens - Variable in class org.antlr.runtime.tree.CommonTreeNodeStream
-
If this tree (root) was created from a
TokenStream
, track it. - tokenSource - Variable in class org.antlr.runtime.BufferedTokenStream
- tokenSource - Variable in class org.antlr.runtime.LegacyCommonTokenStream
- tokenSource - Variable in class org.antlr.runtime.UnbufferedTokenStream
- TokenSource - Interface in org.antlr.runtime
-
A source of tokens must provide a sequence of tokens via nextToken() and also must reveal it's source of characters; CommonToken's text is computed from a CharStream; it only store indices into the char stream.
- tokenStartCharIndex - Variable in class org.antlr.runtime.RecognizerSharedState
-
What character index in the stream did the current token start at? Needed, for example, to get the text for current token.
- tokenStartCharPositionInLine - Variable in class org.antlr.runtime.RecognizerSharedState
-
The character position of first character within the line
- tokenStartLine - Variable in class org.antlr.runtime.RecognizerSharedState
-
The line on which the first character of the token resides
- TokenStream - Interface in org.antlr.runtime
-
A stream of tokens accessing tokens from a TokenSource
- toNotifyString() - Method in class org.antlr.runtime.debug.Profiler
- toOriginalString() - Method in class org.antlr.runtime.TokenRewriteStream
- toOriginalString(int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- toPackedArray() - Method in class org.antlr.runtime.BitSet
- topdown() - Method in class org.antlr.runtime.tree.TreeFilter
- topdown() - Method in class org.antlr.runtime.tree.TreeRewriter
- toString() - Method in class org.antlr.runtime.ANTLRStringStream
- toString() - Method in class org.antlr.runtime.BitSet
- toString() - Method in class org.antlr.runtime.BufferedTokenStream
-
Grab *all* tokens from stream and return string
- toString() - Method in class org.antlr.runtime.ClassicToken
- toString() - Method in class org.antlr.runtime.CommonToken
- toString() - Method in class org.antlr.runtime.debug.DebugTokenStream
- toString() - Method in class org.antlr.runtime.debug.Profiler
- toString() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyToken
- toString() - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- toString() - Method in exception org.antlr.runtime.FailedPredicateException
- toString() - Method in class org.antlr.runtime.LegacyCommonTokenStream
- toString() - Method in class org.antlr.runtime.misc.FastQueue
-
Return string of current buffer contents; non-destructive
- toString() - Method in exception org.antlr.runtime.MismatchedNotSetException
- toString() - Method in exception org.antlr.runtime.MismatchedRangeException
- toString() - Method in exception org.antlr.runtime.MismatchedSetException
- toString() - Method in exception org.antlr.runtime.MismatchedTokenException
- toString() - Method in exception org.antlr.runtime.MismatchedTreeNodeException
- toString() - Method in exception org.antlr.runtime.MissingTokenException
- toString() - Method in exception org.antlr.runtime.NoViableAltException
- toString() - Method in class org.antlr.runtime.SerializedGrammar.Block
- toString() - Method in class org.antlr.runtime.SerializedGrammar.Node
- toString() - Method in class org.antlr.runtime.SerializedGrammar.Rule
- toString() - Method in class org.antlr.runtime.SerializedGrammar.RuleRef
- toString() - Method in class org.antlr.runtime.SerializedGrammar.TokenRef
- toString() - Method in class org.antlr.runtime.SerializedGrammar
- toString() - Method in class org.antlr.runtime.TokenRewriteStream.RewriteOperation
- toString() - Method in class org.antlr.runtime.TokenRewriteStream
- toString() - Method in class org.antlr.runtime.tree.BaseTree
-
Override to say how a node (not a tree) should look as text
- toString() - Method in class org.antlr.runtime.tree.CommonErrorNode
- toString() - Method in class org.antlr.runtime.tree.CommonTree
- toString() - Method in class org.antlr.runtime.tree.ParseTree
- toString() - Method in interface org.antlr.runtime.tree.Tree
- toString() - Method in class org.antlr.runtime.tree.TreeWizard.TreePattern
- toString() - Method in exception org.antlr.runtime.UnwantedTokenException
- toString(int, int) - Method in class org.antlr.runtime.BufferedTokenStream
- toString(int, int) - Method in class org.antlr.runtime.debug.DebugTokenStream
- toString(int, int) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- toString(int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- toString(int, int) - Method in interface org.antlr.runtime.TokenStream
-
Return the text of all tokens from start to stop, inclusive.
- toString(int, int) - Method in class org.antlr.runtime.UnbufferedTokenStream
- toString(Object, Object) - Method in class org.antlr.runtime.debug.DebugTreeNodeStream
- toString(Object, Object) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
- toString(Object, Object) - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
- toString(Object, Object) - Method in interface org.antlr.runtime.tree.TreeNodeStream
-
Return the text of all nodes from
start
tostop
, inclusive. - toString(String) - Method in class org.antlr.runtime.TokenRewriteStream
- toString(String[]) - Method in class org.antlr.runtime.BitSet
- toString(String, int, int) - Method in class org.antlr.runtime.TokenRewriteStream
- toString(Profiler.ProfileStats) - Static method in class org.antlr.runtime.debug.Profiler
- toString(Token, Token) - Method in class org.antlr.runtime.BufferedTokenStream
- toString(Token, Token) - Method in class org.antlr.runtime.debug.DebugTokenStream
- toString(Token, Token) - Method in class org.antlr.runtime.LegacyCommonTokenStream
- toString(Token, Token) - Method in interface org.antlr.runtime.TokenStream
-
Because the user is not required to use a token with an index stored in it, we must provide a means for two token objects themselves to indicate the start/end location.
- toString(Token, Token) - Method in class org.antlr.runtime.UnbufferedTokenStream
- toStrings(List<? extends Token>) - Method in class org.antlr.runtime.BaseRecognizer
-
A convenience method for use most often with template rewrites.
- toStringTree() - Method in class org.antlr.runtime.tree.BaseTree
-
Print out a whole tree not just a node
- toStringTree() - Method in interface org.antlr.runtime.tree.Tree
- toStringWithHiddenTokens() - Method in class org.antlr.runtime.tree.ParseTree
-
Emit a token and all hidden nodes before.
- toTokenString(int, int) - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Debugging
- toTokenTypeString() - Method in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Used for testing, just return the token type stream
- toTokenTypeString() - Method in class org.antlr.runtime.tree.CommonTreeNodeStream
-
For debugging; destructive: moves tree iterator to end.
- toTree(Object) - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
-
Ensure stream emits trees; tokens must be converted to AST nodes.
- toTree(Object) - Method in class org.antlr.runtime.tree.RewriteRuleNodeStream
- toTree(Object) - Method in class org.antlr.runtime.tree.RewriteRuleTokenStream
-
Don't convert to a tree unless they explicitly call nextTree.
- TraceDebugEventListener - Class in org.antlr.runtime.debug
-
Print out (most of) the events...
- TraceDebugEventListener(TreeAdaptor) - Constructor for class org.antlr.runtime.debug.TraceDebugEventListener
- traceIn(String, int) - Method in class org.antlr.runtime.Lexer
- traceIn(String, int) - Method in class org.antlr.runtime.Parser
- traceIn(String, int) - Method in class org.antlr.runtime.tree.TreeParser
- traceIn(String, int, Object) - Method in class org.antlr.runtime.BaseRecognizer
- traceOut(String, int) - Method in class org.antlr.runtime.Lexer
- traceOut(String, int) - Method in class org.antlr.runtime.Parser
- traceOut(String, int) - Method in class org.antlr.runtime.tree.TreeParser
- traceOut(String, int, Object) - Method in class org.antlr.runtime.BaseRecognizer
- Tracer - Class in org.antlr.runtime.debug
-
The default tracer mimics the traceParser behavior of ANTLR 2.x.
- Tracer(IntStream) - Constructor for class org.antlr.runtime.debug.Tracer
- transition - Variable in class org.antlr.runtime.DFA
- transmit(String) - Method in class org.antlr.runtime.debug.DebugEventSocketProxy
- trappedException - Variable in class org.antlr.runtime.tree.CommonErrorNode
- tree - Variable in class org.antlr.runtime.tree.TreeIterator
- Tree - Interface in org.antlr.runtime.tree
-
What does a tree look like? ANTLR has a number of support classes such as CommonTreeNodeStream that work on these kinds of trees.
- TreeAdaptor - Interface in org.antlr.runtime.tree
-
How to create and navigate trees.
- TreeFilter - Class in org.antlr.runtime.tree
-
Cut-n-paste from material I'm not using in the book anymore (edit later to make sense): Now, how are we going to test these tree patterns against every subtree in our original tree? In what order should we visit nodes? For this application, it turns out we need a simple ``apply once'' rule application strategy and a ``down then up'' tree traversal strategy.
- TreeFilter(TreeNodeStream) - Constructor for class org.antlr.runtime.tree.TreeFilter
- TreeFilter(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.tree.TreeFilter
- TreeFilter.fptr - Interface in org.antlr.runtime.tree
- TreeIterator - Class in org.antlr.runtime.tree
-
Return a node stream from a doubly-linked tree whose nodes know what child index they are.
- TreeIterator(Object) - Constructor for class org.antlr.runtime.tree.TreeIterator
- TreeIterator(TreeAdaptor, Object) - Constructor for class org.antlr.runtime.tree.TreeIterator
- TreeNodeStream - Interface in org.antlr.runtime.tree
-
A stream of tree nodes, accessing nodes from a tree of some kind
- TreeParser - Class in org.antlr.runtime.tree
-
A parser for a stream of tree nodes.
- TreeParser(TreeNodeStream) - Constructor for class org.antlr.runtime.tree.TreeParser
- TreeParser(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.tree.TreeParser
- TreePattern(Token) - Constructor for class org.antlr.runtime.tree.TreeWizard.TreePattern
- TreePatternLexer - Class in org.antlr.runtime.tree
- TreePatternLexer(String) - Constructor for class org.antlr.runtime.tree.TreePatternLexer
- TreePatternParser - Class in org.antlr.runtime.tree
- TreePatternParser(TreePatternLexer, TreeWizard, TreeAdaptor) - Constructor for class org.antlr.runtime.tree.TreePatternParser
- TreePatternTreeAdaptor() - Constructor for class org.antlr.runtime.tree.TreeWizard.TreePatternTreeAdaptor
- TreeRewriter - Class in org.antlr.runtime.tree
- TreeRewriter(TreeNodeStream) - Constructor for class org.antlr.runtime.tree.TreeRewriter
- TreeRewriter(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.runtime.tree.TreeRewriter
- TreeRewriter.fptr - Interface in org.antlr.runtime.tree
- TreeRuleReturnScope - Class in org.antlr.runtime.tree
-
This is identical to the
ParserRuleReturnScope
except that the start property is a tree nodes notToken
object when you are parsing trees. - TreeRuleReturnScope() - Constructor for class org.antlr.runtime.tree.TreeRuleReturnScope
- treeToUniqueIDMap - Variable in class org.antlr.runtime.tree.BaseTreeAdaptor
-
System.identityHashCode() is not always unique; we have to track ourselves.
- TreeVisitor - Class in org.antlr.runtime.tree
-
Do a depth first walk of a tree, applying pre() and post() actions as we discover and finish nodes.
- TreeVisitor() - Constructor for class org.antlr.runtime.tree.TreeVisitor
- TreeVisitor(TreeAdaptor) - Constructor for class org.antlr.runtime.tree.TreeVisitor
- TreeVisitorAction - Interface in org.antlr.runtime.tree
-
How to execute code for node t when a visitor visits node t.
- TreeWizard - Class in org.antlr.runtime.tree
-
Build and navigate trees with this object.
- TreeWizard(String[]) - Constructor for class org.antlr.runtime.tree.TreeWizard
- TreeWizard(TreeAdaptor) - Constructor for class org.antlr.runtime.tree.TreeWizard
-
During fillBuffer(), we can make a reverse index from a set of token types of interest to the list of indexes into the node stream.
- TreeWizard(TreeAdaptor, String[]) - Constructor for class org.antlr.runtime.tree.TreeWizard
- TreeWizard(TreeAdaptor, Map<String, Integer>) - Constructor for class org.antlr.runtime.tree.TreeWizard
- TreeWizard.ContextVisitor - Interface in org.antlr.runtime.tree
- TreeWizard.TreePattern - Class in org.antlr.runtime.tree
-
When using %label:TOKENNAME in a tree for parse(), we must track the label.
- TreeWizard.TreePatternTreeAdaptor - Class in org.antlr.runtime.tree
-
This adaptor creates TreePattern objects for use during scan()
- TreeWizard.Visitor - Class in org.antlr.runtime.tree
- TreeWizard.WildcardTreePattern - Class in org.antlr.runtime.tree
- trim(int[], int) - Method in class org.antlr.runtime.debug.Profiler
- TRUE - Static variable in interface org.antlr.runtime.debug.DebugEventListener
-
serialized version of true
- ttype - Variable in class org.antlr.runtime.tree.TreePatternParser
- type - Variable in class org.antlr.runtime.ClassicToken
- type - Variable in class org.antlr.runtime.CommonToken
- type - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- type - Variable in class org.antlr.runtime.RecognizerSharedState
-
The token type for the current token
- type - Variable in class org.antlr.runtime.SerializedGrammar
U
- UnbufferedTokenStream - Class in org.antlr.runtime
-
A token stream that pulls tokens from the code source on-demand and without tracking a complete buffer of the tokens.
- UnbufferedTokenStream(TokenSource) - Constructor for class org.antlr.runtime.UnbufferedTokenStream
- unEscapeNewlines(String) - Method in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
- UNINITIALIZED_EOF_ELEMENT_INDEX - Static variable in class org.antlr.runtime.misc.LookaheadStream
- uniqueNavigationNodes - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
-
Reuse same DOWN, UP navigation nodes unless this is true
- uniqueNodeID - Variable in class org.antlr.runtime.tree.BaseTreeAdaptor
- uniqueRules - Variable in class org.antlr.runtime.debug.Profiler
- unpackEncodedString(String) - Static method in class org.antlr.runtime.DFA
-
Given a String that has a run-length-encoding of some unsigned shorts like "\1\2\3\9", convert to short[] {2,9,9,9}.
- unpackEncodedStringToUnsignedChars(String) - Static method in class org.antlr.runtime.DFA
-
Hideous duplication of code, but I need different typed arrays out :(
- UnwantedTokenException - Exception in org.antlr.runtime
-
An extra token while parsing a TokenStream
- UnwantedTokenException() - Constructor for exception org.antlr.runtime.UnwantedTokenException
-
Used for remote debugger deserialization
- UnwantedTokenException(int, IntStream) - Constructor for exception org.antlr.runtime.UnwantedTokenException
- up - Variable in class org.antlr.runtime.tree.BufferedTreeNodeStream
- up - Variable in class org.antlr.runtime.tree.TreeIterator
- UP - Static variable in interface org.antlr.runtime.Token
-
imaginary tree navigation type; finish with a child list
- UP - Static variable in class org.antlr.runtime.tree.TreeParser
V
- values() - Method in class org.antlr.runtime.misc.DoubleKeyMap
- values(Key1) - Method in class org.antlr.runtime.misc.DoubleKeyMap
-
Get all values associated with primary key
- version - Variable in class org.antlr.runtime.debug.RemoteDebugEventSocketListener
-
Version of ANTLR (dictates events)
- Version - Variable in class org.antlr.runtime.debug.Profiler.ProfileStats
- Version - Static variable in class org.antlr.runtime.debug.Profiler
-
Because I may change the stats, I need to track that for later computations to be consistent.
- visit(Object) - Method in class org.antlr.runtime.tree.TreeWizard.Visitor
- visit(Object, int, TreeWizard.ContextVisitor) - Method in class org.antlr.runtime.tree.TreeWizard
-
Visit every ttype node in t, invoking the visitor.
- visit(Object, Object, int, Map<String, Object>) - Method in interface org.antlr.runtime.tree.TreeWizard.ContextVisitor
- visit(Object, Object, int, Map<String, Object>) - Method in class org.antlr.runtime.tree.TreeWizard.Visitor
- visit(Object, String, TreeWizard.ContextVisitor) - Method in class org.antlr.runtime.tree.TreeWizard
-
For all subtrees that match the pattern, execute the visit action.
- visit(Object, TreeVisitorAction) - Method in class org.antlr.runtime.tree.TreeVisitor
-
Visit every node in tree t and trigger an action for each node before/after having visited all of its children.
- Visitor() - Constructor for class org.antlr.runtime.tree.TreeWizard.Visitor
W
- WildcardTreePattern(Token) - Constructor for class org.antlr.runtime.tree.TreeWizard.WildcardTreePattern
- wizard - Variable in class org.antlr.runtime.tree.TreePatternParser
- writeReport(String, String) - Static method in class org.antlr.runtime.misc.Stats
_
- _edgeST - Static variable in class org.antlr.runtime.tree.DOTTreeGenerator
- _equals(Object, Object, TreeAdaptor) - Static method in class org.antlr.runtime.tree.TreeWizard
- _fsp - Variable in class org.antlr.runtime.RecognizerSharedState
- _index(Object, Map<Integer, List<Object>>) - Method in class org.antlr.runtime.tree.TreeWizard
-
Do the work for index
- _next() - Method in class org.antlr.runtime.tree.RewriteRuleElementStream
-
do the work of getting the next element, making sure that it's a tree node or subtree.
- _nodeST - Static variable in class org.antlr.runtime.tree.DOTTreeGenerator
- _parse(Object, TreeWizard.TreePattern, Map<String, Object>) - Method in class org.antlr.runtime.tree.TreeWizard
-
Do the work for parse.
- _toStringLeaves(StringBuffer) - Method in class org.antlr.runtime.tree.ParseTree
- _treeST - Static variable in class org.antlr.runtime.tree.DOTTreeGenerator
- _visit(Object, Object, int, int, TreeWizard.ContextVisitor) - Method in class org.antlr.runtime.tree.TreeWizard
-
Do the recursive work for visit
All Classes All Packages