Home
last modified time | relevance | path

Searched refs:NODE_TEXT_DATA (Results 1 – 2 of 2) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java72 public static final DataKey<NodeText> NODE_TEXT_DATA = new DataKey<NodeText>() { field in LexicalPreservingPrinter
350 …node.setData(NODE_TEXT_DATA, new NodeText(elements.stream().map(p -> p.b).collect(Collectors.toLis… in storeInitialTextForOneNode()
402 if (!node.containsData(NODE_TEXT_DATA)) { in print()
405 final NodeText text = node.getData(NODE_TEXT_DATA); in print()
529 if (!node.containsData(NODE_TEXT_DATA)) { in getOrCreateNodeText()
531 node.setData(NODE_TEXT_DATA, nodeText); in getOrCreateNodeText()
534 return node.getData(NODE_TEXT_DATA); in getOrCreateNodeText()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java6 …t static com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.NODE_TEXT_DATA;
36 return node.getData(NODE_TEXT_DATA); in getTextForNode()