Uses of Interface
com.github.javaparser.printer.lexicalpreservation.TextElementMatcher
Packages that use TextElementMatcher
-
Uses of TextElementMatcher in com.github.javaparser.printer.lexicalpreservation
Classes in com.github.javaparser.printer.lexicalpreservation that implement TextElementMatcherModifier and TypeClassDescriptionclass
Represent the position of a child node in the NodeText of its parent.class
class
Methods in com.github.javaparser.printer.lexicalpreservation that return TextElementMatcherModifier and TypeMethodDescriptiondefault TextElementMatcher
TextElementMatcher.and
(TextElementMatcher textElementMatcher) This allows the combination of different TextElementMatcher instances.
If combined, all of the TextElementMatchers have to return true.(package private) static TextElementMatcher
(package private) static TextElementMatcher
TextElementMatchers.byTokenType
(int tokenType) (package private) TextElementMatcher
TextElement.matchByRange()
Creates aTextElementMatcher
that matches any TextElement with the same range as this TextElement.
This can be used to curry another TextElementMatcher.
e.g.Methods in com.github.javaparser.printer.lexicalpreservation with parameters of type TextElementMatcherModifier and TypeMethodDescriptiondefault TextElementMatcher
TextElementMatcher.and
(TextElementMatcher textElementMatcher) This allows the combination of different TextElementMatcher instances.
If combined, all of the TextElementMatchers have to return true.(package private) int
NodeText.findElement
(TextElementMatcher matcher) (package private) int
NodeText.findElement
(TextElementMatcher matcher, int from) void
NodeText.remove
(TextElementMatcher matcher, boolean potentiallyFollowingWhitespace) (package private) void
NodeText.replace
(TextElementMatcher position, TextElement newElement) (package private) int
NodeText.tryToFindElement
(TextElementMatcher matcher, int from)