Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java288 Map<Node, List<JavaToken>> tokensByNode = new IdentityHashMap<>(); in storeInitialText() local
299 if (!tokensByNode.containsKey(owner)) { in storeInitialText()
300 tokensByNode.put(owner, new LinkedList<>()); in storeInitialText()
302 tokensByNode.get(owner).add(token); in storeInitialText()
310 … LexicalPreservingPrinter.storeInitialTextForOneNode(node, tokensByNode.get(node)); in storeInitialText()