|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IntStream | |
---|---|
org.antlr.runtime | |
org.antlr.runtime.debug | |
org.antlr.runtime.tree |
Uses of IntStream in org.antlr.runtime |
---|
Subinterfaces of IntStream in org.antlr.runtime | |
---|---|
interface |
CharStream
A source of characters for an ANTLR lexer |
interface |
TokenStream
A stream of tokens accessing tokens from a TokenSource |
Classes in org.antlr.runtime that implement IntStream | |
---|---|
class |
ANTLRFileStream
This is a char buffer stream that is loaded from a file all at once when you construct the object. |
class |
ANTLRInputStream
A kind of ReaderStream that pulls from an InputStream. |
class |
ANTLRReaderStream
Vacuum all input from a Reader and then treat it like a StringStream. |
class |
ANTLRStringStream
A pretty quick CharStream that pulls all data from an array directly. |
class |
CommonTokenStream
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). |
class |
TokenRewriteStream
Useful for dumping out the input stream after doing some augmentation or other manipulations. |
Fields in org.antlr.runtime declared as IntStream | |
---|---|
IntStream |
RecognitionException.input
What input stream did the error occur in? |
Methods in org.antlr.runtime with parameters of type IntStream | |
---|---|
boolean |
BaseRecognizer.alreadyParsedRule(IntStream input,
int ruleIndex)
Has this rule already parsed input at the current index in the input stream? Return the stop token index or MEMO_RULE_UNKNOWN. |
void |
BaseRecognizer.consumeUntil(IntStream input,
BitSet set)
Consume tokens until one matches the given token set |
void |
BaseRecognizer.consumeUntil(IntStream input,
int tokenType)
|
void |
BaseRecognizer.match(IntStream input,
int ttype,
BitSet follow)
Match current input symbol against ttype. |
void |
BaseRecognizer.matchAny(IntStream input)
|
void |
BaseRecognizer.memoize(IntStream input,
int ruleIndex,
int ruleStartIndex)
Record whether or not this rule parsed the input at this position successfully. |
protected void |
BaseRecognizer.mismatch(IntStream input,
int ttype,
BitSet follow)
factor out what to do upon token mismatch so tree parsers can behave differently. |
protected void |
DFA.noViableAlt(int s,
IntStream input)
|
int |
DFA.predict(IntStream input)
From the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL). |
void |
BaseRecognizer.recover(IntStream input,
RecognitionException re)
Recover from an error found on the input stream. |
protected boolean |
BaseRecognizer.recoverFromMismatchedElement(IntStream input,
RecognitionException e,
BitSet follow)
This code is factored out from mismatched token and mismatched set recovery. |
void |
BaseRecognizer.recoverFromMismatchedSet(IntStream input,
RecognitionException e,
BitSet follow)
|
void |
BaseRecognizer.recoverFromMismatchedToken(IntStream input,
RecognitionException e,
int ttype,
BitSet follow)
Attempt to recover from a single missing or extra token. |
int |
DFA.specialStateTransition(int s,
IntStream input)
|
Constructors in org.antlr.runtime with parameters of type IntStream | |
---|---|
EarlyExitException(int decisionNumber,
IntStream input)
|
|
FailedPredicateException(IntStream input,
java.lang.String ruleName,
java.lang.String predicateText)
|
|
MismatchedNotSetException(BitSet expecting,
IntStream input)
|
|
MismatchedRangeException(int a,
int b,
IntStream input)
|
|
MismatchedSetException(BitSet expecting,
IntStream input)
|
|
MismatchedTokenException(int expecting,
IntStream input)
|
|
NoViableAltException(java.lang.String grammarDecisionDescription,
int decisionNumber,
int stateNumber,
IntStream input)
|
|
RecognitionException(IntStream input)
|
Uses of IntStream in org.antlr.runtime.debug |
---|
Classes in org.antlr.runtime.debug that implement IntStream | |
---|---|
class |
DebugTokenStream
|
class |
DebugTreeNodeStream
Debug any tree node stream. |
Fields in org.antlr.runtime.debug declared as IntStream | |
---|---|
IntStream |
Tracer.input
|
Methods in org.antlr.runtime.debug with parameters of type IntStream | |
---|---|
void |
Profiler.examineRuleMemoization(IntStream input,
int ruleIndex,
java.lang.String ruleName)
Track memoization; this is not part of standard debug interface but is triggered by profiling. |
void |
Profiler.memoize(IntStream input,
int ruleIndex,
int ruleStartIndex,
java.lang.String ruleName)
|
void |
DebugTreeParser.recoverFromMismatchedSet(IntStream input,
RecognitionException mte,
BitSet follow)
|
void |
DebugParser.recoverFromMismatchedSet(IntStream input,
RecognitionException mte,
BitSet follow)
|
void |
DebugTreeParser.recoverFromMismatchedToken(IntStream input,
MismatchedTokenException mte,
int ttype,
BitSet follow)
|
void |
DebugParser.recoverFromMismatchedToken(IntStream input,
RecognitionException mte,
int ttype,
BitSet follow)
|
Constructors in org.antlr.runtime.debug with parameters of type IntStream | |
---|---|
Tracer(IntStream input)
|
Uses of IntStream in org.antlr.runtime.tree |
---|
Subinterfaces of IntStream in org.antlr.runtime.tree | |
---|---|
interface |
TreeNodeStream
A stream of tree nodes, accessing nodes from a tree of some kind |
Classes in org.antlr.runtime.tree that implement IntStream | |
---|---|
class |
CommonTreeNodeStream
A buffered stream of tree nodes. |
class |
UnBufferedTreeNodeStream
A stream of tree nodes, accessing nodes from a tree of ANY kind. |
Methods in org.antlr.runtime.tree with parameters of type IntStream | |
---|---|
void |
TreeParser.matchAny(IntStream ignore)
Match '.' in tree parser has special meaning. |
protected void |
TreeParser.mismatch(IntStream input,
int ttype,
BitSet follow)
We have DOWN/UP nodes in the stream that have no line info; override. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |