- java.lang.Object
-
- org.tentackle.model.parse.Line
-
- org.tentackle.model.parse.SingleLine
-
- Direct Known Subclasses:
AttributeLine,CommentLine,ConfigurationLine,EmptyLine,GlobalOptionLine
public abstract class SingleLine extends Line
A line consisting of a single physical line.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description SingleLine(Document document, int offset, LineType lineType)Creates a line.
This line always spans only one line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidparse()Parses a line.-
Methods inherited from class org.tentackle.model.parse.Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
-
-
-
Method Detail
-
parse
public void parse() throws ModelExceptionDescription copied from class:LineParses a line.- Specified by:
parsein classLine- Throws:
ModelException- if parsing failed
-
-