|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.uned.compiler.syntax.SyntaxErrorManager
public class SyntaxErrorManager
Field Summary | |
---|---|
static int |
DEBUG
|
static int |
ERROR
|
static int |
FATAL
|
static int |
INFO
|
static int |
NONE
|
Constructor Summary | |
---|---|
SyntaxErrorManager()
Constructor for SemanticErrorManager. |
Method Summary | |
---|---|
int |
getLevel()
Returns the level. |
int |
getNumberOfErrors()
Returns the numberOfErrors. |
void |
setLevel(int level)
Sets The level. |
void |
syntaxDebug(java.lang.String message)
Logs a debug message. |
void |
syntaxError(java.lang.String message,
TokenIF token)
Logs a syntax error. |
void |
syntaxError(TokenIF token)
Logs a syntax error. |
void |
syntaxFatalError(java.lang.String message,
TokenIF token)
Logs a syntax error. |
void |
syntaxFatalError(TokenIF token)
Logs a syntax error. |
void |
syntaxInfo(java.lang.String message)
Logs a info message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int DEBUG
public static int ERROR
public static int FATAL
public static int INFO
public static int NONE
Constructor Detail |
---|
public SyntaxErrorManager()
Method Detail |
---|
public int getLevel()
public int getNumberOfErrors()
public void setLevel(int level)
level
- The level to set.public final void syntaxDebug(java.lang.String message)
public final void syntaxError(java.lang.String message, TokenIF token)
message
- The message.token
- The token that causes the error.public final void syntaxError(TokenIF token)
token
- The token that causes the error.public final void syntaxFatalError(java.lang.String message, TokenIF token)
message
- The message.token
- The token that causes the error.public final void syntaxFatalError(TokenIF token)
token
- The token that causes the error.public final void syntaxInfo(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |