public class AstLineVisitor extends AstTextVisitor
bundle, locale, newLineIndex, sb| Constructor and Description |
|---|
AstLineVisitor(java.lang.StringBuilder stringBuilder,
ResourceProvider bundle,
java.util.Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterChildBinary(BinaryMetadata metadata,
Metadata child,
boolean hasNext,
int depth) |
void |
afterChildIterable(IterableMetadata metadata,
Metadata child,
boolean hasNext,
int depth) |
void |
afterChildNary(NaryMetadata metadata,
Metadata child,
boolean hasNext,
int depth) |
void |
endBinary(BinaryMetadata metadata,
int depth) |
void |
endIterable(IterableMetadata metadata,
int depth) |
void |
endNary(NaryMetadata metadata,
int depth) |
void |
endRule(Metadata metadata,
int depth) |
protected java.lang.String |
formatCurrentIndent() |
protected java.lang.String |
formatNewLine() |
void |
startBinary(BinaryMetadata metadata,
int depth) |
void |
startIterable(IterableMetadata metadata,
int depth) |
void |
startNary(NaryMetadata metadata,
int depth) |
afterChildMappingRule, endMappingRule, endTypeConverter, endUnary, formatLeafMetadata, formatOperator, formatRule, formatSpace, formatValidate, formatWhen, getCurrentIndentSize, getIndentSize, getNewLineIndex, startLeaf, startMappingRule, startRule, startTypeConverter, startWhenafterChild, afterChildDefault, afterChildRule, afterChildTypeConverter, afterChildUnary, afterChildWhen, beforeChild, beforeChildBinary, beforeChildDefault, beforeChildIterable, beforeChildMappingRule, beforeChildNary, beforeChildRule, beforeChildTypeConverter, beforeChildUnary, beforeChildWhen, end, endDefault, endLeaf, endWhen, parent, stackPeek, stackPeekType, stackSteam, start, startDefault, startUnary, visitCondition, visitIterable, visitNaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbrowsepublic AstLineVisitor(java.lang.StringBuilder stringBuilder,
ResourceProvider bundle,
java.util.Locale locale)
protected java.lang.String formatCurrentIndent()
formatCurrentIndent in class AbstractAstVisitorprotected java.lang.String formatNewLine()
formatNewLine in class AstTextVisitorpublic void startNary(NaryMetadata metadata, int depth)
startNary in class AstTextVisitorpublic void afterChildNary(NaryMetadata metadata, Metadata child, boolean hasNext, int depth)
afterChildNary in class AbstractAstVisitorpublic void endNary(NaryMetadata metadata, int depth)
endNary in class AbstractAstVisitorpublic void startIterable(IterableMetadata metadata, int depth)
startIterable in class AstTextVisitorpublic void afterChildIterable(IterableMetadata metadata, Metadata child, boolean hasNext, int depth)
afterChildIterable in class AbstractAstVisitorpublic void endIterable(IterableMetadata metadata, int depth)
endIterable in class AbstractAstVisitorpublic void startBinary(BinaryMetadata metadata, int depth)
startBinary in class AbstractAstVisitorpublic void afterChildBinary(BinaryMetadata metadata, Metadata child, boolean hasNext, int depth)
afterChildBinary in class AstTextVisitorpublic void endBinary(BinaryMetadata metadata, int depth)
endBinary in class AbstractAstVisitorpublic void endRule(Metadata metadata, int depth)
endRule in class AstTextVisitor