Class SingleLine
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 Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
Constructor Details
-
SingleLine
-
-
Method Details
-
parse
Description copied from class:LineParses a line.- Specified by:
parsein classLine- Throws:
ModelException- if parsing failed
-