Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTest.cpp111 std::vector<const Node *> Leafs = {createLeaf(*Arena, tok::l_paren), in TEST_P()
112 createLeaf(*Arena, tok::r_paren)}; in TEST_P()
121 std::vector<const Node *> Leafs = {createLeaf(*Arena, tok::l_paren), in TEST_P()
122 createLeaf(*Arena, tok::r_paren)}; in TEST_P()
131 std::vector<Node *> Children = {createLeaf(*Arena, tok::identifier, "a"), in TEST_F()
132 createLeaf(*Arena, tok::identifier, "b"), in TEST_F()
133 createLeaf(*Arena, tok::identifier, "c")}; in TEST_F()
236 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
237 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
238 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
[all …]
DSynthesisTest.cpp47 auto *Leaf = createLeaf(*Arena, tok::comma); in TEST_P()
60 auto *Leaf = createLeaf(*Arena, tok::coloncolon); in TEST_P()
70 auto *Leaf = createLeaf(*Arena, tok::kw_if); in TEST_P()
83 auto *Leaf = createLeaf(*Arena, tok::kw_nullptr); in TEST_P()
93 auto *Leaf = createLeaf(*Arena, tok::identifier, "a"); in TEST_P()
103 auto *Leaf = createLeaf(*Arena, tok::numeric_constant, "1"); in TEST_P()
123 auto *LeafLParen = createLeaf(*Arena, tok::l_paren); in TEST_P()
124 auto *LeafRParen = createLeaf(*Arena, tok::r_paren); in TEST_P()
140 auto *Leaf1 = createLeaf(*Arena, tok::numeric_constant, "1"); in TEST_P()
144 auto *LeafPlus = createLeaf(*Arena, tok::plus); in TEST_P()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DSmaliASTFactory.java13 public LeafElement createLeaf(IElementType type, CharSequence text) { in createLeaf() method in SmaliASTFactory
17 return super.createLeaf(type, text); in createLeaf()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DBuildTree.h31 syntax::Leaf *createLeaf(syntax::Arena &A, tok::TokenKind K,
36 syntax::Leaf *createLeaf(syntax::Arena &A, tok::TokenKind K);
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp37 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A, tok::TokenKind K, in createLeaf() function in clang::syntax
52 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A, tok::TokenKind K) { in createLeaf() function in clang::syntax
58 return createLeaf(A, K, Spelling); in createLeaf()
215 return createLeaf(A, L->getToken()->kind(), in deepCopyExpandingMacros()
229 createTree(A, {{createLeaf(A, tok::semi), NodeRole::Unknown}}, in createEmptyStatement()