public interface IParser
Modifier and Type | Method and Description |
---|---|
int |
getCurrentLine() |
int |
getCurrentOffset() |
Term |
nextTerm(boolean endNeeded)
Parses next term from the stream built on string.
|
int[] |
offsetToRowColumn(int offset) |
Term nextTerm(boolean endNeeded) throws java.lang.Exception
endNeeded
- true if it is required to parse the end token
(a period), false otherwise.InvalidTermException
- if a syntax error is found.java.lang.Exception
int getCurrentLine()
int getCurrentOffset()
int[] offsetToRowColumn(int offset)