Package | Description |
---|---|
com.github.javaparser.printer.lexicalpreservation |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ChildTextElement
Represent the position of a child node in the NodeText of its parent.
|
(package private) class |
TokenTextElement |
Modifier and Type | Field and Description |
---|---|
private java.util.List<TextElement> |
NodeText.elements |
Modifier and Type | Method and Description |
---|---|
(package private) TextElement |
NodeText.getTextElement(int index) |
private TextElement |
Difference.toTextElement(LexicalPreservingPrinter lpp,
CsmElement csmElement) |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<TextElement> |
NodeText.getElements() |
private java.util.List<TextElement> |
Difference.indentationBlock() |
private java.util.List<TextElement> |
Difference.processIndentation(java.util.List<TokenTextElement> indentation,
java.util.List<TextElement> prevElements) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
NodeText.addElement(int index,
TextElement nodeTextElement)
Add an element at the given position.
|
(package private) void |
NodeText.addElement(TextElement nodeTextElement)
Add an element at the end.
|
private boolean |
Difference.isPrimitiveType(TextElement textElement) |
boolean |
TextElementMatcher.match(TextElement textElement) |
boolean |
TextElement.match(TextElement textElement) |
(package private) void |
NodeText.replace(TextElementMatcher position,
TextElement newElement) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<TextElement> |
Difference.processIndentation(java.util.List<TokenTextElement> indentation,
java.util.List<TextElement> prevElements) |
Constructor and Description |
---|
NodeText(LexicalPreservingPrinter lexicalPreservingPrinter,
java.util.List<TextElement> elements) |