• Home
  • Raw
  • Download

Lines Matching refs:NodeRole

26     std::vector<std::pair<Node *, NodeRole>> ChildrenWithRoles;  in createTree()
30 deepCopyExpandingMacros(*Arena, Child), NodeRole::Unknown)); in createTree()
135 {{Children[0], NodeRole::LeftHandSide}, in TEST_F()
136 {Children[1], NodeRole::OperatorToken}, in TEST_F()
137 {Children[2], NodeRole::RightHandSide}}, in TEST_F()
142 EXPECT_THAT(Range, ElementsAre(role(NodeRole::LeftHandSide), in TEST_F()
143 role(NodeRole::OperatorToken), in TEST_F()
144 role(NodeRole::RightHandSide))); in TEST_F()
147 EXPECT_THAT(ConstRange, ElementsAre(role(NodeRole::LeftHandSide), in TEST_F()
148 role(NodeRole::OperatorToken), in TEST_F()
149 role(NodeRole::RightHandSide))); 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()
239 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
240 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
257 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
258 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
259 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
260 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
277 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
278 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
279 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
280 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
297 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
298 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
299 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
300 {createLeaf(*Arena, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
320 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
321 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
322 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
323 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
324 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
325 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
345 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
346 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
347 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
348 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
349 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
369 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
370 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
371 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
372 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()
373 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
393 {createLeaf(*Arena, tok::identifier, "a"), NodeRole::ListElement}, in TEST_P()
394 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
395 {createLeaf(*Arena, tok::identifier, "b"), NodeRole::ListElement}, in TEST_P()
396 {createLeaf(*Arena, tok::coloncolon), NodeRole::ListDelimiter}, in TEST_P()
397 {createLeaf(*Arena, tok::identifier, "c"), NodeRole::ListElement}, in TEST_P()