C# Класс Antlr4.Runtime.BaseErrorListener

Provides an empty default implementation of IAntlrErrorListener{Symbol} . The default implementation of each method does nothing, but can be overridden as necessary.
Наследование: IParserErrorListener
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ReportAmbiguity ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, bool exact, BitSet ambigAlts, ATNConfigSet configs ) : void
ReportAttemptingFullContext ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, SimulatorState conflictState ) : void
ReportContextSensitivity ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, SimulatorState acceptState ) : void
SyntaxError ( IRecognizer recognizer, IToken offendingSymbol, int line, int charPositionInLine, string msg, RecognitionException e ) : void

Описание методов

ReportAmbiguity() публичный Метод

public ReportAmbiguity ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, bool exact, BitSet ambigAlts, ATNConfigSet configs ) : void
recognizer Parser
dfa Antlr4.Runtime.Dfa.DFA
startIndex int
stopIndex int
exact bool
ambigAlts Antlr4.Runtime.Sharpen.BitSet
configs ATNConfigSet
Результат void

ReportAttemptingFullContext() публичный Метод

public ReportAttemptingFullContext ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, SimulatorState conflictState ) : void
recognizer Parser
dfa Antlr4.Runtime.Dfa.DFA
startIndex int
stopIndex int
conflictingAlts Antlr4.Runtime.Sharpen.BitSet
conflictState Antlr4.Runtime.Atn.SimulatorState
Результат void

ReportContextSensitivity() публичный Метод

public ReportContextSensitivity ( Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, SimulatorState acceptState ) : void
recognizer Parser
dfa Antlr4.Runtime.Dfa.DFA
startIndex int
stopIndex int
prediction int
acceptState Antlr4.Runtime.Atn.SimulatorState
Результат void

SyntaxError() публичный Метод

public SyntaxError ( IRecognizer recognizer, IToken offendingSymbol, int line, int charPositionInLine, string msg, RecognitionException e ) : void
recognizer IRecognizer
offendingSymbol IToken
line int
charPositionInLine int
msg string
e RecognitionException
Результат void