public class ErrorManager extends Object
Modifier and Type | Field and Description |
---|---|
static STErrorListener |
DEFAULT_ERROR_LISTENER |
STErrorListener |
listener |
Constructor and Description |
---|
ErrorManager() |
ErrorManager(STErrorListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
compileTimeError(ErrorType error,
org.antlr.runtime.Token templateToken,
org.antlr.runtime.Token t) |
void |
compileTimeError(ErrorType error,
org.antlr.runtime.Token templateToken,
org.antlr.runtime.Token t,
Object arg) |
void |
compileTimeError(ErrorType error,
org.antlr.runtime.Token templateToken,
org.antlr.runtime.Token t,
Object arg,
Object arg2) |
void |
groupLexerError(ErrorType error,
String srcName,
org.antlr.runtime.RecognitionException e,
String msg) |
void |
groupSyntaxError(ErrorType error,
String srcName,
org.antlr.runtime.RecognitionException e,
String msg) |
void |
internalError(ST self,
String msg,
Throwable e) |
void |
IOError(ST self,
ErrorType error,
Throwable e) |
void |
IOError(ST self,
ErrorType error,
Throwable e,
Object arg) |
void |
lexerError(String srcName,
String msg,
org.antlr.runtime.Token templateToken,
org.antlr.runtime.RecognitionException e) |
void |
runTimeError(Interpreter interp,
InstanceScope scope,
ErrorType error) |
void |
runTimeError(Interpreter interp,
InstanceScope scope,
ErrorType error,
Object arg) |
void |
runTimeError(Interpreter interp,
InstanceScope scope,
ErrorType error,
Object arg,
Object arg2) |
void |
runTimeError(Interpreter interp,
InstanceScope scope,
ErrorType error,
Object arg,
Object arg2,
Object arg3) |
void |
runTimeError(Interpreter interp,
InstanceScope scope,
ErrorType error,
Throwable e,
Object arg) |
public static STErrorListener DEFAULT_ERROR_LISTENER
public final STErrorListener listener
public ErrorManager()
public ErrorManager(STErrorListener listener)
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t)
public void lexerError(String srcName, String msg, org.antlr.runtime.Token templateToken, org.antlr.runtime.RecognitionException e)
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg)
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg, Object arg2)
public void groupSyntaxError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)
public void groupLexerError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error)
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg)
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Throwable e, Object arg)
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2)
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2, Object arg3)
Copyright © 2024. All rights reserved.