C# Class Antlr4.Runtime.Dfa.AcceptStateInfo

Stores information about a DFAState which is an accept state under some condition. Certain settings, such as Antlr4.Runtime.Atn.ParserATNSimulator.PredictionMode() , may be used in addition to this information to determine whether or not a particular state is an accept state.
显示文件 Open project: antlr/antlr4

Public Methods

Method Description
AcceptStateInfo ( int prediction ) : Antlr4.Runtime.Sharpen
AcceptStateInfo ( int prediction, Antlr4 lexerActionExecutor ) : Antlr4.Runtime.Sharpen

Method Details

AcceptStateInfo() public method

public AcceptStateInfo ( int prediction ) : Antlr4.Runtime.Sharpen
prediction int
return Antlr4.Runtime.Sharpen

AcceptStateInfo() public method

public AcceptStateInfo ( int prediction, Antlr4 lexerActionExecutor ) : Antlr4.Runtime.Sharpen
prediction int
lexerActionExecutor Antlr4
return Antlr4.Runtime.Sharpen