C# Class Antlr4.Runtime.Atn.ATNSimulator

Show file Open project: antlr/antlr4 Class Usage Examples

Public Properties

Property Type Description
ERROR Antlr4.Runtime.Dfa.DFAState
atn ATN

Protected Properties

Property Type Description
sharedContextCache PredictionContextCache

Public Methods

Method Description
ATNSimulator ( ATN atn, PredictionContextCache sharedContextCache ) : System
ClearDFA ( ) : void
Reset ( ) : void
getCachedContext ( PredictionContext context ) : PredictionContext
getSharedContextCache ( ) : PredictionContextCache

Private Methods

Method Description
InitERROR ( ) : DFAState

Method Details

ATNSimulator() public method

public ATNSimulator ( ATN atn, PredictionContextCache sharedContextCache ) : System
atn ATN
sharedContextCache PredictionContextCache
return System

ClearDFA() public method

public ClearDFA ( ) : void
return void

Reset() public abstract method

public abstract Reset ( ) : void
return void

getCachedContext() public method

public getCachedContext ( PredictionContext context ) : PredictionContext
context PredictionContext
return PredictionContext

getSharedContextCache() public method

public getSharedContextCache ( ) : PredictionContextCache
return PredictionContextCache

Property Details

ERROR public static property

public static DFAState,Antlr4.Runtime.Dfa ERROR
return Antlr4.Runtime.Dfa.DFAState

atn public property

public ATN,Antlr4.Runtime.Atn atn
return ATN

sharedContextCache protected property

protected PredictionContextCache,Antlr4.Runtime.Atn sharedContextCache
return PredictionContextCache