public class ParserNotice
extends java.lang.Object
| Constructor and Description |
|---|
ParserNotice(int line,
int column,
int length,
java.lang.String message)
Constructor.
|
ParserNotice(Token t,
java.lang.String msg) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Returns the character offset into the line of the parser notice,
if any.
|
int |
getLength()
Returns the length of the code the message is concerned with.
|
int |
getLine()
Returns the line number the notice is about, if any.
|
java.lang.String |
getMessage()
Returns the message from the parser.
|
java.lang.String |
toString()
Returns a string representation of this parser notice.
|
public ParserNotice(Token t, java.lang.String msg)
public ParserNotice(int line,
int column,
int length,
java.lang.String message)
line - The line of the notice.column - The column of the notice.length - The length of the code the message is concerned with.message - The message.public int getColumn()
public int getLength()
public int getLine()
public java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Object