Uses of Class
com.github.javaparser.printer.SourcePrinter
Packages that use SourcePrinter
-
Uses of SourcePrinter in com.github.javaparser.printer
Fields in com.github.javaparser.printer declared as SourcePrinterModifier and TypeFieldDescriptionprotected SourcePrinter
DefaultPrettyPrinterVisitor.printer
protected SourcePrinter
PrettyPrintVisitor.printer
Deprecated.Methods in com.github.javaparser.printer that return SourcePrinterModifier and TypeMethodDescriptionSourcePrinter.indent()
Add the default indentation to the current indentation and push it on the indentation stack.SourcePrinter.indentWithAlignTo(int column)
Add to the current indentation until it is reaches "column" and push it on the indentation stack.Append the source string passed as argument to the buffer.SourcePrinter.println()
Append a newline to the buffer.Append the source string passed as argument to the buffer, then append a newline.SourcePrinter.unindent()
Pop the last indentation of the indentation stack.Methods in com.github.javaparser.printer with parameters of type SourcePrinterModifier and TypeMethodDescriptionstatic void
ConcreteSyntaxModel.genericPrettyPrint(Node node, SourcePrinter printer)
Constructors in com.github.javaparser.printer with parameters of type SourcePrinterModifierConstructorDescriptionDefaultPrettyPrinterVisitor(PrinterConfiguration configuration, SourcePrinter printer)
-
Uses of SourcePrinter in com.github.javaparser.printer.concretesyntaxmodel
Methods in com.github.javaparser.printer.concretesyntaxmodel with parameters of type SourcePrinterModifier and TypeMethodDescriptionvoid
CsmAttribute.prettyPrint(Node node, SourcePrinter printer)
void
CsmChar.prettyPrint(Node node, SourcePrinter printer)
void
CsmComment.prettyPrint(Node node, SourcePrinter printer)
void
CsmConditional.prettyPrint(Node node, SourcePrinter printer)
void
CsmElement.prettyPrint(Node node, SourcePrinter printer)
void
CsmIndent.prettyPrint(Node node, SourcePrinter printer)
void
CsmList.prettyPrint(Node node, SourcePrinter printer)
void
CsmMix.prettyPrint(Node node, SourcePrinter printer)
void
CsmNone.prettyPrint(Node node, SourcePrinter printer)
void
CsmOrphanCommentsEnding.prettyPrint(Node node, SourcePrinter printer)
void
CsmSequence.prettyPrint(Node node, SourcePrinter printer)
void
CsmSingleReference.prettyPrint(Node node, SourcePrinter printer)
void
CsmString.prettyPrint(Node node, SourcePrinter printer)
void
CsmTextBlock.prettyPrint(Node node, SourcePrinter printer)
void
CsmToken.prettyPrint(Node node, SourcePrinter printer)
void
CsmUnindent.prettyPrint(Node node, SourcePrinter printer)