|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fife.ui.rsyntaxtextarea.parser.DefaultParseResult
public class DefaultParseResult
A basic implementation of ParseResult.
| Constructor Summary | |
|---|---|
DefaultParseResult(Parser parser)
|
|
| Method Summary | |
|---|---|
void |
addNotice(ParserNotice notice)
Adds a parser notice. |
void |
clearNotices()
Clears any parser notices in this result. |
int |
getFirstLineParsed()
Returns the first line parsed. |
int |
getLastLineParsed()
Returns the last line parsed. |
java.util.List |
getNotices()
Returns the notices for the parsed section. |
Parser |
getParser()
Returns the parser that generated these notices. |
void |
setParsedLines(int first,
int last)
Sets the line range parsed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultParseResult(Parser parser)
| Method Detail |
|---|
public void addNotice(ParserNotice notice)
notice - The new notice.clearNotices()public void clearNotices()
addNotice(ParserNotice)public int getFirstLineParsed()
getFirstLineParsed in interface ParseResultParseResult.getLastLineParsed()public int getLastLineParsed()
getLastLineParsed in interface ParseResultParseResult.getFirstLineParsed()public java.util.List getNotices()
getNotices in interface ParseResultpublic Parser getParser()
getParser in interface ParseResult
public void setParsedLines(int first,
int last)
first - The first line parsed, inclusive.last - The last line parsed, inclusive.getFirstLineParsed(),
getLastLineParsed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||