C# 클래스 Antlr4.Runtime.Atn.ATNDeserializer

파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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