Searched refs:NodeText (Results 1 – 9 of 9) sorted by relevance
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinter.java | 72 public static final DataKey<NodeText> NODE_TEXT_DATA = new DataKey<NodeText>() { 133 NodeText nodeText = getOrCreateNodeText(observedNode.getParentNode().get()); in concretePropertyChange() 169 NodeText nodeText = getOrCreateNodeText(observedNode); in concretePropertyChange() 178 private int getIndexOfComment (Comment oldValue, NodeText nodeText) { in getIndexOfComment() 195 …private List<ChildTextElement> findChildTextElementForComment (Comment oldValue, NodeText nodeText… in findChildTextElementForComment() 219 …private List<TokenTextElement> findTokenTextElementForComment(Comment oldValue, NodeText nodeText)… in findTokenTextElementForComment() 263 NodeText nodeText = getOrCreateNodeText(changedList.getParentNodeForChildren()); in concreteListChange() 279 NodeText nodeText = getOrCreateNodeText(changedList.getParentNodeForChildren()); in concreteListReplacement() 350 …node.setData(NODE_TEXT_DATA, new NodeText(elements.stream().map(p -> p.b).collect(Collectors.toLis… in storeInitialTextForOneNode() 364 NodeText parentNodeText = getOrCreateNodeText(node.getParentNode().get()); in tokensPreceeding() [all …]
|
D | TextElementIteratorsFactory.java | 159 private static Iterator<TokenTextElement> reverseIterator(NodeText nodeText, int index) { in reverseIterator() 170 NodeText textForChild = childTextElement.getNodeTextForWrappedNode(); in reverseIterator() 177 public static Iterator<TokenTextElement> reverseIterator(NodeText nodeText) { 181 …public static Iterator<TokenTextElement> partialReverseIterator(NodeText nodeText, int fromIndex) {
|
D | NodeText.java | 35 class NodeText { class 50 NodeText(List<TextElement> elements) { in NodeText() method in NodeText 57 NodeText() { in NodeText() method in NodeText
|
D | Difference.java | 28 private final NodeText nodeText; 39 Difference(List<DifferenceElement> diffElements, NodeText nodeText, Node node) { in Difference() 79 private boolean isAfterLBrace(NodeText nodeText, int nodeTextIndex) { in isAfterLBrace() 93 private int considerEnforcingIndentation(NodeText nodeText, int nodeTextIndex) { in considerEnforcingIndentation() 652 …ger> findIndexOfCorrespondingNodeTextElement(List<CsmElement> elements, NodeText nodeText, int sta… in findIndexOfCorrespondingNodeTextElement() 751 …private int adjustIndentation(List<TokenTextElement> indentation, NodeText nodeText, int nodeTextI… in adjustIndentation()
|
D | ChildTextElement.java | 58 NodeText getNodeTextForWrappedNode() { in getNodeTextForWrappedNode()
|
D | DifferenceElementCalculator.java | 136 … private static void considerRemoval(NodeText nodeTextForChild, List<DifferenceElement> elements) { in considerRemoval() 156 … NodeText nodeTextForChild = LexicalPreservingPrinter.getOrCreateNodeText(removedChild.getChild()); in considerRemoval()
|
D | LexicalDifferenceCalculator.java | 113 …void calculatePropertyChange(NodeText nodeText, Node observedNode, ObservableProperty property, Ob… in calculatePropertyChange()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 35 private NodeText getTextForNode(Node node) { in getTextForNode() 74 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(fd); in checkNodeTextCreatedForField() 87 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(vd); in checkNodeTextCreatedForVariableDeclarator() 99 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(md); in checkNodeTextCreatedForMethod() 112 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(p1); in checkNodeTextCreatedForMethodParameter() 126 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(t); in checkNodeTextCreatedForPrimitiveType() 137 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(imp); in checkNodeTextCreatedForSimpleImport() 159 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(field); in checkNodeTextCreatedGenericType() 170 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(ad); in checkNodeTextCreatedAnnotationDeclaration() 182 NodeText nodeText = LexicalPreservingPrinter.getOrCreateNodeText(md); in checkNodeTextCreatedAnnotationMemberDeclaration() [all …]
|
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.Tree.pas | 3481 NodeText: String; 3490 NodeText := ToString; 3491 if (NodeText <> '<EOF>') then 3492 Buf.Append(NodeText);
|