|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.rsta.ac.java.rjc.notices.ParserNotice
public class ParserNotice
A notice (e.g., a warning or error) from a parser.
| Constructor Summary | |
|---|---|
ParserNotice(int line,
int column,
int length,
String message)
Constructor. |
|
ParserNotice(Token t,
String msg)
|
|
| Method Summary | |
|---|---|
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. |
String |
getMessage()
Returns the message from the parser. |
String |
toString()
Returns a string representation of this parser notice. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParserNotice(Token t,
String msg)
public ParserNotice(int line,
int column,
int length,
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.| Method Detail |
|---|
public int getColumn()
public int getLength()
public int getLine()
public String getMessage()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||