Interface IOutputFormatter
- All Known Implementing Classes:
TextOutputFormatter
public interface IOutputFormatter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeBrace
(BraceStyle style) void
void
indent()
void
newLine()
void
openBrace
(BraceStyle style) void
resetLineNumberOffsets
(OffsetToLineNumberConverter offset2LineNumber) instructs 'this' formatter to forget what it used to know about the sequence of line number offsets in the source codevoid
space()
void
void
unindent()
void
writeComment
(CommentType commentType, String content) void
writeDelimiter
(String token) void
writeIdentifier
(String identifier) void
writeKeyword
(String keyword) void
writeLabel
(String label) void
writeLiteral
(String value) void
writeOperator
(String token) void
writeTextBlock
(String value) void
writeTextLiteral
(String value) void
writeToken
(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
-