Package | Description |
---|---|
org.antlr.analysis | |
org.antlr.codegen | |
org.antlr.tool |
Modifier and Type | Class and Description |
---|---|
class |
RuleClosureTransition
A transition used to reference another rule.
|
Modifier and Type | Field and Description |
---|---|
Transition[] |
NFAState.transition |
Modifier and Type | Field and Description |
---|---|
protected List<Transition> |
DFAState.transitions
Track the transitions emanating from this DFA state.
|
Modifier and Type | Method and Description |
---|---|
Transition |
DFAState.getTransition(int trans) |
Transition |
DFAState.transition(int i) |
abstract Transition |
State.transition(int i) |
Transition |
NFAState.transition(int i) |
Modifier and Type | Method and Description |
---|---|
void |
DFAState.addTransition(Transition t) |
abstract void |
State.addTransition(Transition e) |
void |
NFAState.addTransition(Transition e) |
int |
Transition.compareTo(Transition other) |
void |
NFAState.setTransition0(Transition e)
Used during optimization to reset a state to have the (single)
transition another state has.
|
Modifier and Type | Method and Description |
---|---|
protected static int |
NFAToDFAConverter.addTransition(DFAState d,
Label label,
DFAState targetState,
Map<Integer,Transition> targetToLabelMap)
Add a transition from state d to targetState with label in normal case.
|
Modifier and Type | Method and Description |
---|---|
protected org.stringtemplate.v4.ST |
CodeGenerator.genLabelExpr(org.stringtemplate.v4.STGroup templates,
Transition edge,
int k)
Generate an expression for traversing an edge.
|
protected org.stringtemplate.v4.ST |
CodeGenerator.genSemanticPredicateExpr(org.stringtemplate.v4.STGroup templates,
Transition edge) |
Modifier and Type | Method and Description |
---|---|
protected String |
DOTGenerator.getEdgeLabel(Transition edge)
Fix edge strings so they print out in DOT properly;
generate any gated predicates on edge too.
|
Copyright © 1992–2015 ANTLR. All rights reserved.