C# Class Antlr4.Runtime.Atn.ATNState

显示文件 Open project: antlr/antlr4 Class Usage Examples

Public Properties

Property Type Description
atn ATN
epsilonOnlyTransitions bool
nextTokenWithinRule Antlr4.Runtime.Misc.IntervalSet
ruleIndex int
serializationNames ReadOnlyCollection
stateNumber int

Protected Properties

Property Type Description
optimizedTransitions List
transitions List

Public Methods

Method Description
ATNState ( ) : System
AddOptimizedTransition ( Antlr4 e ) : void
AddTransition ( Antlr4 e ) : void
AddTransition ( int index, Antlr4 e ) : void
Equals ( object o ) : bool
GetHashCode ( ) : int
GetOptimizedTransition ( int i ) : Antlr4.Runtime.Atn.Transition
RemoveOptimizedTransition ( int i ) : void
RemoveTransition ( int index ) : void
SetOptimizedTransition ( int i, Antlr4 e ) : void
SetRuleIndex ( int ruleIndex ) : void
SetTransition ( int i, Antlr4 e ) : void
ToString ( ) : string
Transition ( int i ) : Antlr4.Runtime.Atn.Transition

Method Details

ATNState() public method

public ATNState ( ) : System
return System

AddOptimizedTransition() public method

public AddOptimizedTransition ( Antlr4 e ) : void
e Antlr4
return void

AddTransition() public method

public AddTransition ( Antlr4 e ) : void
e Antlr4
return void

AddTransition() public method

public AddTransition ( int index, Antlr4 e ) : void
index int
e Antlr4
return void

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetOptimizedTransition() public method

public GetOptimizedTransition ( int i ) : Antlr4.Runtime.Atn.Transition
i int
return Antlr4.Runtime.Atn.Transition

RemoveOptimizedTransition() public method

public RemoveOptimizedTransition ( int i ) : void
i int
return void

RemoveTransition() public method

public RemoveTransition ( int index ) : void
index int
return void

SetOptimizedTransition() public method

public SetOptimizedTransition ( int i, Antlr4 e ) : void
i int
e Antlr4
return void

SetRuleIndex() public method

public SetRuleIndex ( int ruleIndex ) : void
ruleIndex int
return void

SetTransition() public method

public SetTransition ( int i, Antlr4 e ) : void
i int
e Antlr4
return void

ToString() public method

public ToString ( ) : string
return string

Transition() public method

public Transition ( int i ) : Antlr4.Runtime.Atn.Transition
i int
return Antlr4.Runtime.Atn.Transition

Property Details

atn public_oe property

public ATN,Antlr4.Runtime.Atn atn
return ATN

epsilonOnlyTransitions public_oe property

public bool epsilonOnlyTransitions
return bool

nextTokenWithinRule public_oe property

public IntervalSet,Antlr4.Runtime.Misc nextTokenWithinRule
return Antlr4.Runtime.Misc.IntervalSet

optimizedTransitions protected_oe property

protected List optimizedTransitions
return List

ruleIndex public_oe property

public int ruleIndex
return int

serializationNames public_oe static_oe property

public static ReadOnlyCollection serializationNames
return ReadOnlyCollection

stateNumber public_oe property

public int stateNumber
return int

transitions protected_oe property

protected List transitions
return List