C# Class Antlr4.Runtime.Atn.ATNDeserializer

Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Méthodes publiques

Свойство Type Description
SerializedUuid System.Guid
SerializedVersion int

Méthodes publiques

Méthode Description
ATNDeserializer ( ATNDeserializationOptions deserializationOptions ) : System
Deserialize ( char data ) : ATN

Méthodes protégées

Méthode Description
CheckCondition ( bool condition ) : void
CheckCondition ( bool condition, string message ) : void
CheckUUID ( ) : void
CheckVersion ( ) : void
GenerateRuleBypassTransitions ( ATN atn ) : void
IsFeatureSupported ( System.Guid feature, System.Guid actualUuid ) : bool

Determines if a particular serialized representation of an ATN supports a particular feature, identified by the Guid used for serializing the ATN at the time the feature was first introduced.

LexerActionFactory ( LexerActionType type, int data1, int data2 ) : ILexerAction
MarkPrecedenceDecisions ( ATN atn ) : void

Analyze the StarLoopEntryState states in the specified ATN to set the StarLoopEntryState.precedenceRuleDecision field to the correct value.

OptimizeATN ( ATN atn ) : void
ReadATN ( ) : ATN
ReadDecisions ( ATN atn ) : void
ReadEdges ( ATN atn, IList sets ) : void
ReadInt ( ) : int
ReadInt32 ( ) : int
ReadLexerActions ( ATN atn ) : void
ReadLong ( ) : long
ReadModes ( ATN atn ) : void
ReadRules ( ATN atn ) : void
ReadSets ( ATN atn ) : IList
ReadStates ( ATN atn ) : void
ReadUUID ( ) : System.Guid
Reset ( char data ) : void
StateFactory ( StateType type, int ruleIndex ) : ATNState
VerifyATN ( ATN atn ) : void

Private Methods

Méthode Description
ATNDeserializer ( ) : System
CombineChainedEpsilons ( ATN atn ) : int
EdgeFactory ( ATN atn, TransitionType type, int src, int trg, int arg1, int arg2, int arg3, IList sets ) : Transition
IdentifyTailCalls ( ATN atn ) : void
InlineSetRules ( ATN atn ) : int
OptimizeSets ( ATN atn, bool preserveOrder ) : int
TestTailCall ( ATN atn, RuleTransition transition, bool optimizedPath ) : bool

Method Details

ATNDeserializer() public méthode

public ATNDeserializer ( ATNDeserializationOptions deserializationOptions ) : System
deserializationOptions ATNDeserializationOptions
Résultat System

CheckCondition() protected méthode

protected CheckCondition ( bool condition ) : void
condition bool
Résultat void

CheckCondition() protected méthode

protected CheckCondition ( bool condition, string message ) : void
condition bool
message string
Résultat void

CheckUUID() protected méthode

protected CheckUUID ( ) : void
Résultat void

CheckVersion() protected méthode

protected CheckVersion ( ) : void
Résultat void

Deserialize() public méthode

public Deserialize ( char data ) : ATN
data char
Résultat ATN

GenerateRuleBypassTransitions() protected méthode

protected GenerateRuleBypassTransitions ( ATN atn ) : void
atn ATN
Résultat void

IsFeatureSupported() protected méthode

Determines if a particular serialized representation of an ATN supports a particular feature, identified by the Guid used for serializing the ATN at the time the feature was first introduced.
protected IsFeatureSupported ( System.Guid feature, System.Guid actualUuid ) : bool
feature System.Guid /// The /// /// marking the first time the feature was /// supported in the serialized ATN. ///
actualUuid System.Guid /// The /// /// of the actual serialized ATN which is /// currently being deserialized. ///
Résultat bool

LexerActionFactory() protected méthode

protected LexerActionFactory ( LexerActionType type, int data1, int data2 ) : ILexerAction
type LexerActionType
data1 int
data2 int
Résultat ILexerAction

MarkPrecedenceDecisions() protected méthode

Analyze the StarLoopEntryState states in the specified ATN to set the StarLoopEntryState.precedenceRuleDecision field to the correct value.
protected MarkPrecedenceDecisions ( ATN atn ) : void
atn ATN The ATN.
Résultat void

OptimizeATN() protected méthode

protected OptimizeATN ( ATN atn ) : void
atn ATN
Résultat void

ReadATN() protected méthode

protected ReadATN ( ) : ATN
Résultat ATN

ReadDecisions() protected méthode

protected ReadDecisions ( ATN atn ) : void
atn ATN
Résultat void

ReadEdges() protected méthode

protected ReadEdges ( ATN atn, IList sets ) : void
atn ATN
sets IList
Résultat void

ReadInt() protected méthode

protected ReadInt ( ) : int
Résultat int

ReadInt32() protected méthode

protected ReadInt32 ( ) : int
Résultat int

ReadLexerActions() protected méthode

protected ReadLexerActions ( ATN atn ) : void
atn ATN
Résultat void

ReadLong() protected méthode

protected ReadLong ( ) : long
Résultat long

ReadModes() protected méthode

protected ReadModes ( ATN atn ) : void
atn ATN
Résultat void

ReadRules() protected méthode

protected ReadRules ( ATN atn ) : void
atn ATN
Résultat void

ReadSets() protected méthode

protected ReadSets ( ATN atn ) : IList
atn ATN
Résultat IList

ReadStates() protected méthode

protected ReadStates ( ATN atn ) : void
atn ATN
Résultat void

ReadUUID() protected méthode

protected ReadUUID ( ) : System.Guid
Résultat System.Guid

Reset() protected méthode

protected Reset ( char data ) : void
data char
Résultat void

StateFactory() protected méthode

protected StateFactory ( StateType type, int ruleIndex ) : ATNState
type StateType
ruleIndex int
Résultat ATNState

VerifyATN() protected méthode

protected VerifyATN ( ATN atn ) : void
atn ATN
Résultat void

Property Details

SerializedUuid public_oe static_oe property

This is the current serialized UUID.
This is the current serialized UUID.
public static Guid,System SerializedUuid
Résultat System.Guid

SerializedVersion public_oe static_oe property

public static int SerializedVersion
Résultat int