Uses of Class antlr.Lookahead

Uses in package antlr

Fields of type antlr.Lookahead

Lookahead[]
Lookahead[]
Lookahead[]
Lookahead[]
lookahead to bypass block; set by deterministic().

Methods with parameter type antlr.Lookahead

void
String
String
String
String
Lookahead
What is the intersection of two lookahead depths? Only the Epsilon "bit" and bitset are considered.
boolean
If the first k-1 sets are singleton sets, the appoximate lookahead analysis is equivalent to full lookahead analysis.
void
DiagnosticCodeGenerator.printSet(int depth, int k, Lookahead lookahead)
Format a lookahead or follow set.
void
DocBookCodeGenerator.printSet(int depth, int k, Lookahead lookahead)
Format a lookahead or follow set.
void
HTMLCodeGenerator.printSet(int depth, int k, Lookahead lookahead)
Format a lookahead or follow set.
void
DefaultToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead sets, int altIdx1, int altIdx2)
Issue a warning about ambiguity between a alternates
void
ToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead sets, int altIdx1, int altIdx2)
Issue a warning about ambiguity between a alternates
void
DefaultToolErrorHandler.warnAltExitAmbiguity(Grammar grammar, BlockWithImpliedExitPath blk, boolean lexicalAnalysis, int depth, Lookahead sets, int altIdx)
Issue a warning about ambiguity between an alternate and exit path.
void
ToolErrorHandler.warnAltExitAmbiguity(Grammar grammar, BlockWithImpliedExitPath blk, boolean lexicalAnalysis, int depth, Lookahead sets, int altIdx)
Issue a warning about ambiguity between an alternate and exit path.

Methods with return type antlr.Lookahead

Lookahead
Compute the lookahead set of whatever follows references to the rule associated witht the FOLLOW block.
Lookahead
Lookahead
What is the intersection of two lookahead depths? Only the Epsilon "bit" and bitset are considered.
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
RuleBlock.look(int k)
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
LLkAnalyzer.look(int k, String rule)
Compute the combined lookahead for all productions of a rule.
Lookahead
LLkGrammarAnalyzer.look(int k, String rule)
Lookahead
LLkAnalyzer.look(int k, ActionElement action)
Actions are ignored
Lookahead
Lookahead
Combine the lookahead computed for each alternative
Lookahead
Lookahead
Compute what follows this place-holder node and possibly what begins the associated loop unless the node is locked.
Lookahead
Lookahead
Return this char as the lookahead if k=1.
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
The lookahead of a (...)+ block is the combined lookahead of all alternatives and, if an empty path is found, the lookahead of what follows the block.
Lookahead
Lookahead
LLkAnalyzer.look(int k, RuleBlock blk)
Combine the lookahead computed for each alternative.
Lookahead
Lookahead
If not locked or noFOLLOW set, compute FOLLOW of a rule.
Lookahead
Lookahead
Compute the lookahead contributed by a rule reference.
Lookahead
Lookahead
Lookahead
Lookahead
The lookahead of a (...)=> block is the lookahead of what follows the block.
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
Lookahead
The (...)* element is the combined lookahead of the alternatives and what can follow the loop.
Lookahead
Lookahead
Lookahead.of(int el)