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

A tuple: (ATN state, predicted alt, syntactic, semantic context).
A tuple: (ATN state, predicted alt, syntactic, semantic context). The syntactic context is a graph-structured stack node whose path(s) to the root is the rule invocation(s) chain used to arrive at the state. The semantic context is the tree of semantic predicates encountered before reaching an ATN state.
파일 보기 프로젝트 열기: sharwell/antlr4cs 1 사용 예제들

공개 메소드들

메소드 설명
AppendContext ( PredictionContext context, PredictionContextCache contextCache ) : Antlr4.Runtime.Atn.ATNConfig
AppendContext ( int context, PredictionContextCache contextCache ) : Antlr4.Runtime.Atn.ATNConfig
Clone ( ) : Antlr4.Runtime.Atn.ATNConfig
Contains ( Antlr4 subconfig ) : bool
Create ( ATNState state, int alt, PredictionContext context ) : Antlr4.Runtime.Atn.ATNConfig
Create ( ATNState state, int alt, PredictionContext context, Antlr4 semanticContext ) : Antlr4.Runtime.Atn.ATNConfig
Create ( ATNState state, int alt, PredictionContext context, Antlr4 semanticContext, LexerActionExecutor lexerActionExecutor ) : Antlr4.Runtime.Atn.ATNConfig
Equals ( Antlr4 other ) : bool
Equals ( object o ) : bool

An ATN configuration is equal to another if both have the same state, they predict the same alternative, and syntactic/semantic contexts are the same.

GetHashCode ( ) : int
ToDotString ( ) : string
ToString ( ) : string
ToString ( IRecognizer recog, bool showAlt ) : string
ToString ( IRecognizer recog, bool showAlt, bool showContext ) : string
Transform ( ATNState state, Antlr4 semanticContext, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
Transform ( ATNState state, LexerActionExecutor lexerActionExecutor, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
Transform ( ATNState state, PredictionContext context, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
Transform ( ATNState state, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig

보호된 메소드들

메소드 설명
ATNConfig ( ATNState state, int alt, PredictionContext context ) : System
ATNConfig ( Antlr4 c, ATNState state, PredictionContext context ) : System

비공개 메소드들

메소드 설명
CheckNonGreedyDecision ( Antlr4 source, ATNState target ) : bool
Transform ( ATNState state, PredictionContext context, Antlr4 semanticContext, bool checkNonGreedy, LexerActionExecutor lexerActionExecutor ) : Antlr4.Runtime.Atn.ATNConfig

메소드 상세

ATNConfig() 보호된 메소드

protected ATNConfig ( ATNState state, int alt, PredictionContext context ) : System
state ATNState
alt int
context PredictionContext
리턴 System

ATNConfig() 보호된 메소드

protected ATNConfig ( Antlr4 c, ATNState state, PredictionContext context ) : System
c Antlr4
state ATNState
context PredictionContext
리턴 System

AppendContext() 공개 메소드

public AppendContext ( PredictionContext context, PredictionContextCache contextCache ) : Antlr4.Runtime.Atn.ATNConfig
context PredictionContext
contextCache PredictionContextCache
리턴 Antlr4.Runtime.Atn.ATNConfig

AppendContext() 공개 메소드

public AppendContext ( int context, PredictionContextCache contextCache ) : Antlr4.Runtime.Atn.ATNConfig
context int
contextCache PredictionContextCache
리턴 Antlr4.Runtime.Atn.ATNConfig

Clone() 공개 메소드

public Clone ( ) : Antlr4.Runtime.Atn.ATNConfig
리턴 Antlr4.Runtime.Atn.ATNConfig

Contains() 공개 메소드

public Contains ( Antlr4 subconfig ) : bool
subconfig Antlr4
리턴 bool

Create() 공개 정적인 메소드

public static Create ( ATNState state, int alt, PredictionContext context ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
alt int
context PredictionContext
리턴 Antlr4.Runtime.Atn.ATNConfig

Create() 공개 정적인 메소드

public static Create ( ATNState state, int alt, PredictionContext context, Antlr4 semanticContext ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
alt int
context PredictionContext
semanticContext Antlr4
리턴 Antlr4.Runtime.Atn.ATNConfig

Create() 공개 정적인 메소드

public static Create ( ATNState state, int alt, PredictionContext context, Antlr4 semanticContext, LexerActionExecutor lexerActionExecutor ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
alt int
context PredictionContext
semanticContext Antlr4
lexerActionExecutor LexerActionExecutor
리턴 Antlr4.Runtime.Atn.ATNConfig

Equals() 공개 메소드

public Equals ( Antlr4 other ) : bool
other Antlr4
리턴 bool

Equals() 공개 메소드

An ATN configuration is equal to another if both have the same state, they predict the same alternative, and syntactic/semantic contexts are the same.
public Equals ( object o ) : bool
o object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

ToDotString() 공개 메소드

public ToDotString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( IRecognizer recog, bool showAlt ) : string
recog IRecognizer
showAlt bool
리턴 string

ToString() 공개 메소드

public ToString ( IRecognizer recog, bool showAlt, bool showContext ) : string
recog IRecognizer
showAlt bool
showContext bool
리턴 string

Transform() 공개 메소드

public Transform ( ATNState state, Antlr4 semanticContext, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
semanticContext Antlr4
checkNonGreedy bool
리턴 Antlr4.Runtime.Atn.ATNConfig

Transform() 공개 메소드

public Transform ( ATNState state, LexerActionExecutor lexerActionExecutor, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
lexerActionExecutor LexerActionExecutor
checkNonGreedy bool
리턴 Antlr4.Runtime.Atn.ATNConfig

Transform() 공개 메소드

public Transform ( ATNState state, PredictionContext context, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
context PredictionContext
checkNonGreedy bool
리턴 Antlr4.Runtime.Atn.ATNConfig

Transform() 공개 메소드

public Transform ( ATNState state, bool checkNonGreedy ) : Antlr4.Runtime.Atn.ATNConfig
state ATNState
checkNonGreedy bool
리턴 Antlr4.Runtime.Atn.ATNConfig