24 package org.lightjason.agentspeak.grammar;
26 import org.antlr.v4.runtime.ANTLRErrorListener;
27 import org.antlr.v4.runtime.Parser;
28 import org.antlr.v4.runtime.RecognitionException;
29 import org.antlr.v4.runtime.Recognizer;
30 import org.antlr.v4.runtime.atn.ATNConfigSet;
31 import org.antlr.v4.runtime.dfa.DFA;
35 import java.util.BitSet;
45 public void syntaxError(
final Recognizer<?, ?> p_recognizer,
final Object p_symbol,
final int p_line,
final int p_charposition,
46 final String p_message,
47 final RecognitionException p_exception
54 public void reportAmbiguity(
final Parser p_parser,
final DFA p_dfa,
final int p_startindex,
final int p_stopindex,
final boolean p_exact,
55 final BitSet p_alternatives,
56 final ATNConfigSet p_configuration
64 final BitSet p_bitset,
65 final ATNConfigSet p_configuration
73 final int p_prediction,
74 final ATNConfigSet p_configuration
void reportContextSensitivity(final Parser p_parser, final DFA p_dfa, final int p_startindex, final int p_stopindex, final int p_prediction, final ATNConfigSet p_configuration)
void reportAmbiguity(final Parser p_parser, final DFA p_dfa, final int p_startindex, final int p_stopindex, final boolean p_exact, final BitSet p_alternatives, final ATNConfigSet p_configuration)
exception for parsing error
static< T > String languagestring(final T p_source, final String p_label, final Object... p_parameter)
returns the language depend string on any object
void syntaxError(final Recognizer<?, ?> p_recognizer, final Object p_symbol, final int p_line, final int p_charposition, final String p_message, final RecognitionException p_exception)
AntLR error lister to catch parser and lexer errors with individual error handling and language trans...
class for any helper calls
void reportAttemptingFullContext(final Parser p_parser, final DFA p_dfa, final int p_startindex, final int p_stopindex, final BitSet p_bitset, final ATNConfigSet p_configuration)