Package snap.parse
Class TokenDoc
java.lang.Object
snap.parse.TokenDoc
This class holds TokenLines.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLineForCharRange
(int startCharIndex, int endCharIndex) Adds a line for char range.Returns the last line.getLine
(int anIndex) Returns the individual line at given index.int
Returns the number of lines.
-
Field Details
-
_chars
-
_startLineIndex
protected int _startLineIndex
-
-
Constructor Details
-
TokenDoc
Constructor.
-
-
Method Details
-
getLineCount
public int getLineCount()Returns the number of lines. -
getLine
Returns the individual line at given index. -
addLineForCharRange
Adds a line for char range. -
getLastLine
Returns the last line.
-