Package | Description |
---|---|
org.antlr.analysis | |
org.antlr.codegen | |
org.antlr.tool |
Modifier and Type | Class | Description |
---|---|---|
class |
RuleClosureTransition |
A transition used to reference another rule.
|
Modifier and Type | Field | Description |
---|---|---|
Transition[] |
NFAState.transition |
Modifier and Type | Field | Description |
---|---|---|
protected List<Transition> |
DFAState.transitions |
Track the transitions emanating from this DFA state.
|
Modifier and Type | Method | Description |
---|---|---|
Transition |
DFAState.getTransition(int trans) |
|
Transition |
DFAState.transition(int i) |
|
Transition |
NFAState.transition(int i) |
|
abstract Transition |
State.transition(int i) |
Modifier and Type | Method | Description |
---|---|---|
void |
DFAState.addTransition(Transition t) |
|
void |
NFAState.addTransition(Transition e) |
|
abstract void |
State.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 | 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 | 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 | 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–2019 ANTLR. All rights reserved.