Свойство | Type | Description | |
---|---|---|---|
stateNumber | int |
Méthode | Description | |
---|---|---|
DFAState ( |
||
DFAState ( EmptyEdgeMap |
||
Equals ( object o ) : bool |
Two DFAState instances are equal if their ATN configuration sets are the same. This method is used to see if a state already exists. Because the number of alternatives and number of ATN configurations are finite, there is a finite number of DFA states that can be processed. This is necessary to show that the algorithm terminates. Cannot test the DFA state numbers here because in Antlr4.Runtime.Atn.ParserATNSimulator.AddDFAState(DFA, Antlr4.Runtime.Atn.ATNConfigSet, Antlr4.Runtime.Atn.PredictionContextCache) we need to know if any other state exists that has this exact set of ATN configurations. The stateNumber is irrelevant.
|
|
GetContextTarget ( int invokingState ) : |
||
GetHashCode ( ) : int | ||
GetTarget ( int symbol ) : |
||
IsContextSymbol ( int symbol ) : bool | ||
SetContextSensitive ( |
||
SetContextSymbol ( int symbol ) : void | ||
SetContextTarget ( int invokingState, |
||
SetTarget ( int symbol, |
||
ToString ( ) : string |
public DFAState ( |
||
dfa | ||
configs | ATNConfigSet | |
Résultat | System |
public DFAState ( EmptyEdgeMap |
||
emptyEdges | EmptyEdgeMap |
|
emptyContextEdges | EmptyEdgeMap |
|
configs | ATNConfigSet | |
Résultat | System |
public GetContextTarget ( int invokingState ) : |
||
invokingState | int | |
Résultat |
public IsContextSymbol ( int symbol ) : bool | ||
symbol | int | |
Résultat | bool |
public SetContextSensitive ( |
||
atn | ||
Résultat | void |
public SetContextSymbol ( int symbol ) : void | ||
symbol | int | |
Résultat | void |
public SetContextTarget ( int invokingState, |
||
invokingState | int | |
target | ||
Résultat | void |
public SetTarget ( int symbol, |
||
symbol | int | |
target | ||
Résultat | void |