C# Класс Antlr4.Runtime.Atn.ATNDeserializer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SerializedUuid System.Guid
SerializedVersion int

Открытые методы

Метод Описание
ATNDeserializer ( ATNDeserializationOptions deserializationOptions ) : System
Deserialize ( char data ) : ATN

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ATNDeserializer() публичный метод

public ATNDeserializer ( ATNDeserializationOptions deserializationOptions ) : System
deserializationOptions ATNDeserializationOptions
Результат System

CheckCondition() защищенный метод

protected CheckCondition ( bool condition ) : void
condition bool
Результат void

CheckCondition() защищенный метод

protected CheckCondition ( bool condition, string message ) : void
condition bool
message string
Результат void

CheckUUID() защищенный метод

protected CheckUUID ( ) : void
Результат void

CheckVersion() защищенный метод

protected CheckVersion ( ) : void
Результат void

Deserialize() публичный метод

public Deserialize ( char data ) : ATN
data char
Результат ATN

GenerateRuleBypassTransitions() защищенный метод

protected GenerateRuleBypassTransitions ( ATN atn ) : void
atn ATN
Результат void

IsFeatureSupported() защищенный метод

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. ///
Результат bool

LexerActionFactory() защищенный метод

protected LexerActionFactory ( LexerActionType type, int data1, int data2 ) : ILexerAction
type LexerActionType
data1 int
data2 int
Результат ILexerAction

MarkPrecedenceDecisions() защищенный метод

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.
Результат void

OptimizeATN() защищенный метод

protected OptimizeATN ( ATN atn ) : void
atn ATN
Результат void

ReadATN() защищенный метод

protected ReadATN ( ) : ATN
Результат ATN

ReadDecisions() защищенный метод

protected ReadDecisions ( ATN atn ) : void
atn ATN
Результат void

ReadEdges() защищенный метод

protected ReadEdges ( ATN atn, IList sets ) : void
atn ATN
sets IList
Результат void

ReadInt() защищенный метод

protected ReadInt ( ) : int
Результат int

ReadInt32() защищенный метод

protected ReadInt32 ( ) : int
Результат int

ReadLexerActions() защищенный метод

protected ReadLexerActions ( ATN atn ) : void
atn ATN
Результат void

ReadLong() защищенный метод

protected ReadLong ( ) : long
Результат long

ReadModes() защищенный метод

protected ReadModes ( ATN atn ) : void
atn ATN
Результат void

ReadRules() защищенный метод

protected ReadRules ( ATN atn ) : void
atn ATN
Результат void

ReadSets() защищенный метод

protected ReadSets ( ATN atn ) : IList
atn ATN
Результат IList

ReadStates() защищенный метод

protected ReadStates ( ATN atn ) : void
atn ATN
Результат void

ReadUUID() защищенный метод

protected ReadUUID ( ) : System.Guid
Результат System.Guid

Reset() защищенный метод

protected Reset ( char data ) : void
data char
Результат void

StateFactory() защищенный метод

protected StateFactory ( StateType type, int ruleIndex ) : ATNState
type StateType
ruleIndex int
Результат ATNState

VerifyATN() защищенный метод

protected VerifyATN ( ATN atn ) : void
atn ATN
Результат void

Описание свойств

SerializedUuid публичное статическое свойство

This is the current serialized UUID.
This is the current serialized UUID.
public static Guid,System SerializedUuid
Результат System.Guid

SerializedVersion публичное статическое свойство

public static int SerializedVersion
Результат int