Searched refs:TokenTypeWhat (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/runtime_core/assembler/tests/ |
D | lexer_test.cpp | 30 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST() 31 ASSERT_EQ(TokenTypeWhat(tok.first[1].type), "ID") << "ID expected"; in TEST() 32 ASSERT_EQ(TokenTypeWhat(tok.first[2].type), "DEL_COMMA") << "DEL_COMMA expected"; in TEST() 33 ASSERT_EQ(TokenTypeWhat(tok.first[3].type), "ID") << "ID expected"; in TEST() 42 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST() 43 ASSERT_EQ(TokenTypeWhat(tok.first[1].type), "ID") << "ID expected"; in TEST() 52 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST() 53 ASSERT_EQ(TokenTypeWhat(tok.first[1].type), "OPERATION") << "OPERATION expected"; in TEST() 54 ASSERT_EQ(TokenTypeWhat(tok.first[2].type), "ID") << "ID expected"; in TEST() 55 ASSERT_EQ(TokenTypeWhat(tok.first[3].type), "ID") << "ID expected"; in TEST() [all …]
|
D | assembler_lexer_test.cpp | 41 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; 42 EXPECT_EQ(TokenTypeWhat(tok.first[1].type), "ID") << "ID expected"; 43 EXPECT_EQ(TokenTypeWhat(tok.first[2].type), "DEL_COMMA") << "DEL_COMMA expected"; 44 EXPECT_EQ(TokenTypeWhat(tok.first[3].type), "ID") << "ID expected"; 59 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; 60 EXPECT_EQ(TokenTypeWhat(tok.first[1].type), "ID") << "ID expected"; 75 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "ID") << "ID expected"; 76 EXPECT_EQ(TokenTypeWhat(tok.first[1].type), "OPERATION") << "OPERATION expected"; 77 EXPECT_EQ(TokenTypeWhat(tok.first[2].type), "ID") << "ID expected"; 78 EXPECT_EQ(TokenTypeWhat(tok.first[3].type), "ID") << "ID expected"; [all …]
|
/arkcompiler/runtime_core/assembler/ |
D | lexer.cpp | 86 std::string_view TokenTypeWhat(Token::Type t) in TokenTypeWhat() function 182 << " (type: " << TokenTypeWhat(f_i.type) << ")"; in TokenizeString() 319 … << "type: " << TokenTypeWhat(LexGetType(bound_left, bound_right)) << ")"; in LexTokens()
|
D | lexer.h | 117 std::string_view TokenTypeWhat(Token::Type t);
|