Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
_
S
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.
CommonTokenStream
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.tree.
CommonTreeNodeStream
seek(int)
- Method in class org.antlr.runtime.tree.
UnBufferedTreeNodeStream
consume() ahead until we hit index.
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
serializeToken(Token)
- Method in class org.antlr.runtime.debug.
DebugEventSocketProxy
serverSocket
- Variable in class org.antlr.runtime.debug.
DebugEventSocketProxy
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, BaseTree)
- Method in class org.antlr.runtime.tree.
BaseTree
setChild(int, BaseTree)
- Method in class org.antlr.runtime.tree.
DoubleLinkTree
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.
DebugTreeNodeStream
setDebugListener(DebugEventListener)
- Method in class org.antlr.runtime.debug.
DebugTreeParser
Provide a new debug event listener for this parser.
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(DoubleLinkTree)
- Method in class org.antlr.runtime.tree.
DoubleLinkTree
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(String)
- Method in class org.antlr.runtime.
ClassicToken
setText(String)
- Method in class org.antlr.runtime.
CommonToken
Override the text for this token.
setText(Object, String)
- Method in class org.antlr.runtime.debug.
DebugTreeAdaptor
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
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
setTokenBoundaries(int, int, int)
- Method in class org.antlr.runtime.debug.
BlankDebugEventListener
setTokenBoundaries(int, int, int)
- Method in class org.antlr.runtime.debug.
DebugEventHub
setTokenBoundaries(int, int, int)
- Method in interface org.antlr.runtime.debug.
DebugEventListener
Set the token start/stop token index for a subtree root or node
setTokenBoundaries(int, int, int)
- Method in class org.antlr.runtime.debug.
DebugEventRepeater
setTokenBoundaries(int, int, int)
- Method in class org.antlr.runtime.debug.
DebugEventSocketProxy
setTokenBoundaries(Object, Token, Token)
- Method in class org.antlr.runtime.debug.
DebugTreeAdaptor
setTokenBoundaries(int, int, int)
- Method in class org.antlr.runtime.debug.
TraceDebugEventListener
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.
CommonTokenStream
Reset this token stream by setting its token source.
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.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.
CommonTreeNodeStream
setTokenStream(TokenStream)
- Method in class org.antlr.runtime.tree.
UnBufferedTreeNodeStream
setTokenTypeChannel(int, int)
- Method in class org.antlr.runtime.
CommonTokenStream
A simple filter mechanism whereby you can tell this token stream to force all tokens of type ttype to be on channel.
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(Object, int)
- Method in class org.antlr.runtime.debug.
DebugTreeAdaptor
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.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.
CommonTreeNodeStream
setUniqueNavigationNodes(boolean)
- Method in interface org.antlr.runtime.tree.
TreeNodeStream
As we flatten the tree, we use UP, DOWN nodes to represent the tree structure.
setUniqueNavigationNodes(boolean)
- Method in class org.antlr.runtime.tree.
UnBufferedTreeNodeStream
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.
CommonTokenStream
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.tree.
CommonTreeNodeStream
size()
- Method in class org.antlr.runtime.tree.
RewriteRuleElementStream
size()
- Method in class org.antlr.runtime.tree.
UnBufferedTreeNodeStream
Expensive to compute; recursively walk tree to find size; include navigation nodes and EOF.
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.
skipOffTokenChannelsReverse(int)
- Method in class org.antlr.runtime.
CommonTokenStream
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
specialTransition(int, int)
- 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()
- Method in class org.antlr.runtime.debug.
RemoteDebugEventSocketListener
Create a thread to listen to the remote running recognizer
start
- Variable in class org.antlr.runtime.
ParserRuleReturnScope
start
- Variable in class org.antlr.runtime.tree.
TreeRuleReturnScope
First node or root node of tree matched for this rule.
startIndex
- Variable in class org.antlr.runtime.tree.
CommonTree
What token indexes bracket all tokens associated with this node and below?
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.
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
stopIndex
- Variable in class org.antlr.runtime.tree.
CommonTree
What token indexes bracket all tokens associated with this node and below?
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
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
_