C# Class Antlr4.Runtime.Atn.ProfilingATNSimulator

Inheritance: ParserATNSimulator
Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Protected Properties

Свойство Type Description
conflictingAltResolvedBySLL int
currentDecision int
currentState Antlr4.Runtime.Dfa.DFAState
decisions Antlr4.Runtime.Atn.DecisionInfo[]
llStopIndex int
numDecisions int
sllStopIndex int

Méthodes publiques

Méthode Description
AdaptivePredict ( ITokenStream input, int decision, ParserRuleContext outerContext ) : int
ProfilingATNSimulator ( Parser parser ) : System
getCurrentState ( ) : DFAState
getDecisionInfo ( ) : Antlr4.Runtime.Atn.DecisionInfo[]

Méthodes protégées

Méthode Description
ComputeReachSet ( ATNConfigSet closure, int t, bool fullCtx ) : ATNConfigSet
ComputeTargetState ( DFA dfa, DFAState previousD, int t ) : DFAState
EvalSemanticContext ( SemanticContext pred, ParserRuleContext parserCallStack, int alt, bool fullCtx ) : bool
GetExistingTargetState ( DFAState previousD, int t ) : DFAState
ReportAmbiguity ( DFA dfa, DFAState D, int startIndex, int stopIndex, bool exact, BitSet ambigAlts, ATNConfigSet configSet ) : void
ReportAttemptingFullContext ( DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex ) : void
ReportContextSensitivity ( DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex ) : void

Method Details

AdaptivePredict() public méthode

public AdaptivePredict ( ITokenStream input, int decision, ParserRuleContext outerContext ) : int
input ITokenStream
decision int
outerContext ParserRuleContext
Résultat int

ComputeReachSet() protected méthode

protected ComputeReachSet ( ATNConfigSet closure, int t, bool fullCtx ) : ATNConfigSet
closure ATNConfigSet
t int
fullCtx bool
Résultat ATNConfigSet

ComputeTargetState() protected méthode

protected ComputeTargetState ( DFA dfa, DFAState previousD, int t ) : DFAState
dfa Antlr4.Runtime.Dfa.DFA
previousD Antlr4.Runtime.Dfa.DFAState
t int
Résultat Antlr4.Runtime.Dfa.DFAState

EvalSemanticContext() protected méthode

protected EvalSemanticContext ( SemanticContext pred, ParserRuleContext parserCallStack, int alt, bool fullCtx ) : bool
pred SemanticContext
parserCallStack ParserRuleContext
alt int
fullCtx bool
Résultat bool

GetExistingTargetState() protected méthode

protected GetExistingTargetState ( DFAState previousD, int t ) : DFAState
previousD Antlr4.Runtime.Dfa.DFAState
t int
Résultat Antlr4.Runtime.Dfa.DFAState

ProfilingATNSimulator() public méthode

public ProfilingATNSimulator ( Parser parser ) : System
parser Parser
Résultat System

ReportAmbiguity() protected méthode

protected ReportAmbiguity ( DFA dfa, DFAState D, int startIndex, int stopIndex, bool exact, BitSet ambigAlts, ATNConfigSet configSet ) : void
dfa Antlr4.Runtime.Dfa.DFA
D Antlr4.Runtime.Dfa.DFAState
startIndex int
stopIndex int
exact bool
ambigAlts Antlr4.Runtime.Sharpen.BitSet
configSet ATNConfigSet
Résultat void

ReportAttemptingFullContext() protected méthode

protected ReportAttemptingFullContext ( DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex ) : void
dfa Antlr4.Runtime.Dfa.DFA
conflictingAlts Antlr4.Runtime.Sharpen.BitSet
configs ATNConfigSet
startIndex int
stopIndex int
Résultat void

ReportContextSensitivity() protected méthode

protected ReportContextSensitivity ( DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex ) : void
dfa Antlr4.Runtime.Dfa.DFA
prediction int
configs ATNConfigSet
startIndex int
stopIndex int
Résultat void

getCurrentState() public méthode

public getCurrentState ( ) : DFAState
Résultat Antlr4.Runtime.Dfa.DFAState

getDecisionInfo() public méthode

public getDecisionInfo ( ) : Antlr4.Runtime.Atn.DecisionInfo[]
Résultat Antlr4.Runtime.Atn.DecisionInfo[]

Property Details

conflictingAltResolvedBySLL protected_oe property

protected int conflictingAltResolvedBySLL
Résultat int

currentDecision protected_oe property

protected int currentDecision
Résultat int

currentState protected_oe property

protected DFAState,Antlr4.Runtime.Dfa currentState
Résultat Antlr4.Runtime.Dfa.DFAState

decisions protected_oe property

protected DecisionInfo[],Antlr4.Runtime.Atn decisions
Résultat Antlr4.Runtime.Atn.DecisionInfo[]

llStopIndex protected_oe property

protected int llStopIndex
Résultat int

numDecisions protected_oe property

protected int numDecisions
Résultat int

sllStopIndex protected_oe property

protected int sllStopIndex
Résultat int