Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java139 nodeText.addToken(index + 1, eolTokenKind(), Utils.EOL); in concretePropertyChange()
418 nodeText.addToken(BOOLEAN, node.toString()); in prettyPrintingTextNode()
421 nodeText.addToken(CHAR, node.toString()); in prettyPrintingTextNode()
424 nodeText.addToken(BYTE, node.toString()); in prettyPrintingTextNode()
427 nodeText.addToken(SHORT, node.toString()); in prettyPrintingTextNode()
430 nodeText.addToken(INT, node.toString()); in prettyPrintingTextNode()
433 nodeText.addToken(LONG, node.toString()); in prettyPrintingTextNode()
436 nodeText.addToken(FLOAT, node.toString()); in prettyPrintingTextNode()
439 nodeText.addToken(DOUBLE, node.toString()); in prettyPrintingTextNode()
447 nodeText.addToken(JAVADOC_COMMENT, "/**" + ((JavadocComment) node).getContent() + "*/"); in prettyPrintingTextNode()
[all …]
DNodeText.java87 void addToken(int tokenKind, String text) { in addToken() method in NodeText
91 void addToken(int index, int tokenKind, String text) { in addToken() method in NodeText
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.cpp185 void addToken(HighlightingToken T) { Tokens.push_back(T); } in addToken() function in clang::clangd::__anonb0d2c65c0111::HighlightingsBuilder
187 void addToken(SourceLocation Loc, HighlightingKind Kind) { in addToken() function in clang::clangd::__anonb0d2c65c0111::HighlightingsBuilder
291 H.addToken(L.getBeginLoc(), *K); in VisitDecltypeTypeLoc()
300 H.addToken(D->getTypeSpecStartLoc(), *K); in VisitDeclaratorDecl()
307 H.addToken(E->getNameLoc(), HighlightingKind::DependentName); in VisitOverloadExpr()
312 H.addToken(E->getMemberNameInfo().getLoc(), in VisitCXXDependentScopeMemberExpr()
318 H.addToken(E->getNameInfo().getLoc(), HighlightingKind::DependentName); in VisitDependentScopeDeclRefExpr()
323 H.addToken(L.getNameLoc(), HighlightingKind::DependentType); in VisitDependentNameTypeLoc()
329 H.addToken(L.getTemplateNameLoc(), HighlightingKind::DependentType); in VisitDependentTemplateSpecializationTypeLoc()
337 H.addToken(L.getTemplateNameLoc(), HighlightingKind::DependentType); in TraverseTemplateArgumentLoc()
[all …]
/external/llvm-project/clang/lib/AST/
DCommentParser.cpp84 if (isEnd() && !addToken()) in consumeChar()
95 bool addToken() { in addToken() function in clang::comments::TextTokenRetokenizer
149 addToken(); in TextTokenRetokenizer()
/external/clang/lib/AST/
DCommentParser.cpp85 if (isEnd() && !addToken()) in consumeChar()
96 bool addToken() { in addToken() function in clang::comments::TextTokenRetokenizer
150 addToken(); in TextTokenRetokenizer()
/external/cldr/tools/java/org/unicode/cldr/util/
DLenientDateParser.java122 boolean addToken(Token token) { in addToken() method in LenientDateParser.Parser
223 if (!addToken(matchValue)) { in parse()
248 if (!addToken(new IntegerToken(result))) { in parse()