Package com.github.javaparser.printer.lexicalpreservation
package com.github.javaparser.printer.lexicalpreservation
-
ClassDescriptionRepresent the position of a child node in the NodeText of its parent.A Difference should give me a sequence of elements I should find (to indicate the context) followed by a list of elements to remove or to add and follow by another sequence of elements.Provides stateless utility methods for indentation calculations and analysis.Context information for enforcing indentation.Constants related to indentation management in lexical preservation.Maintains the current indentation state during lexical preservation operations.A generic iterator that tracks the index of the current element.The LexicalPreservingPrinter is responsible for maintaining the original formatting and layout of Java source code when the Abstract Syntax Tree (AST) is modified.Decorates an iterator to support one-element lookahead while iterating.Deprecated.This class is no longer used phantom node are now an attribute of each nodeElements in a CsmMix have been reshuffled.Iterator that tracks its current position in a TextElement list.Default mutable implementation of
TextElementSequence.Contract for a specialized sequence of TextElements with enhanced search and modification capabilities for lexical preservation operations.