| Package | Description |
|---|---|
| com.github.javaparser.printer | |
| com.github.javaparser.printer.concretesyntaxmodel |
| Modifier and Type | Field and Description |
|---|---|
protected SourcePrinter |
PrettyPrintVisitor.printer |
| Modifier and Type | Method and Description |
|---|---|
SourcePrinter |
SourcePrinter.indent()
Add the default indentation to the current indentation and push it on the indentation stack.
|
SourcePrinter |
SourcePrinter.indentWithAlignTo(int column)
Add to the current indentation until it is reaches "column" and push it on the indentation stack.
|
SourcePrinter |
SourcePrinter.print(String arg)
Append the source string passed as argument to the buffer.
|
SourcePrinter |
SourcePrinter.println()
Append a newline to the buffer.
|
SourcePrinter |
SourcePrinter.println(String arg)
Append the source string passed as argument to the buffer, then append a newline.
|
SourcePrinter |
SourcePrinter.unindent()
Pop the last indentation of the indentation stack.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ConcreteSyntaxModel.genericPrettyPrint(Node node,
SourcePrinter printer) |
| Modifier and Type | Method and Description |
|---|---|
void |
CsmChar.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmTextBlock.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmList.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmOrphanCommentsEnding.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmComment.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmNone.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmElement.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmString.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmSequence.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmMix.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmAttribute.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmUnindent.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmToken.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmSingleReference.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmIndent.prettyPrint(Node node,
SourcePrinter printer) |
void |
CsmConditional.prettyPrint(Node node,
SourcePrinter printer) |
Copyright © 2007–2019. All rights reserved.