|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ui.rsyntaxtextarea.ParserNotice
public class ParserNotice
A notice (e.g., a warning or error) from a parser.
| Constructor Summary | |
|---|---|
ParserNotice(String message,
int offset,
int length)
Constructor. |
|
ParserNotice(String message,
int offset,
int length,
int line,
int column)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
containsPosition(int pos)
Returns whether this parser notice contains the specified location in the document. |
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. |
int |
getOffset()
Returns the offset of the code the message is concerned with. |
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(String message,
int offset,
int length)
message - The message.offset - The offset in the input stream of the code the
message is concerned with.length - The length of the code the message is concerned with.
public ParserNotice(String message,
int offset,
int length,
int line,
int column)
message - The message.offset - The offset in the input stream of the code the
message is concerned with.length - The length of the code the message is concerned with.line - The line number of the notice, -1 if none.column - The character-offset into the line of the notice,
-1 if none.| Method Detail |
|---|
public boolean containsPosition(int pos)
pos - The position in the document.
public int getColumn()
public int getLength()
public int getLine()
public String getMessage()
public int getOffset()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||