java.lang.Object
org.tentackle.model.parse.Line
org.tentackle.model.parse.SingleLine
- Direct Known Subclasses:
AttributeLine,CommentLine,ConfigurationLine,EmptyLine,GlobalOptionLine
A line consisting of a single physical line.
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionSingleLine(Document document, int offset, LineType lineType) Creates a line.
This line always spans only one line. -
Method Summary
Methods inherited from class org.tentackle.model.parse.Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
Constructor Details
-
SingleLine
Creates a line.
This line always spans only one line.- Parameters:
document- the whole documentoffset- offset to first character within documentlineType- the line type
-
-
Method Details
-
parse
Description copied from class:LineParses a line.- Specified by:
parsein classLine- Throws:
ModelException- if parsing failed
-