Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/assembler/tests/
Dlexer_test.cpp30 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 …]
Dassembler_lexer_test.cpp41 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/
Dlexer.cpp86 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()
Dlexer.h117 std::string_view TokenTypeWhat(Token::Type t);