Interface IOutputFormatter
- All Known Implementing Classes:
TextOutputFormatter
public interface IOutputFormatter
-
Method Summary
Modifier and TypeMethodDescriptionvoidcloseBrace(BraceStyle style) voidvoidindent()voidnewLine()voidopenBrace(BraceStyle style) voidresetLineNumberOffsets(OffsetToLineNumberConverter offset2LineNumber) instructs 'this' formatter to forget what it used to know about the sequence of line number offsets in the source codevoidspace()voidvoidunindent()voidwriteComment(CommentType commentType, String content) voidwriteDelimiter(String token) voidwriteIdentifier(String identifier) voidwriteKeyword(String keyword) voidwriteLabel(String label) voidwriteLiteral(String value) voidwriteOperator(String token) voidwriteTextBlock(String value) voidwriteTextLiteral(String value) voidwriteToken(String token)
-
Method Details
-
startNode
-
endNode
-
writeLabel
-
writeIdentifier
-
writeKeyword
-
writeOperator
-
writeDelimiter
-
writeToken
-
writeLiteral
-
writeTextLiteral
-
writeTextBlock
-
space
void space() -
openBrace
-
closeBrace
-
indent
void indent() -
unindent
void unindent() -
newLine
void newLine() -
writeComment
-
resetLineNumberOffsets
instructs 'this' formatter to forget what it used to know about the sequence of line number offsets in the source code
-