private abstract class AptParser.Section extends AptParser.Block
indent, text, textLength, type
Constructor and Description |
---|
Section(int type,
int indent,
java.lang.String firstLine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Title_()
End a title.
|
abstract void |
Title()
Start a title.
|
void |
traverse()
Parse the block.
|
getIndent, getType, skipFromLeftToRightBracket, skipLeadingBullets, skipSpaceFrom, traverseText, traverseText
public Section(int type, int indent, java.lang.String firstLine) throws AptParseException
type
- type.indent
- indent.firstLine
- the first line.AptParseException
- AptParseExceptionpublic void traverse() throws AptParseException
traverse
in class AptParser.Block
AptParseException
- if something goes wrong.public abstract void Title()
public abstract void Title_()