Home
last modified time | relevance | path

Searched refs:TokenToChar (Results 1 - 4 of 4) sorted by relevance

/foundation/ability/idl_tool/test/unittest/lexer_test/
H A Dlexer_test.cpp67 * @tc.desc: test the token in Lexer's TokenToChar function is ANGLE_BRACKETS_LEFT.
77 int result = imageLexer.TokenToChar(token); in HWTEST_F()
83 * @tc.desc: test the token in Lexer's TokenToChar function is ANGLE_BRACKETS_RIGHT.
93 int result = imageLexer.TokenToChar(token); in HWTEST_F()
99 * @tc.desc: test the token in Lexer's TokenToChar function is BRACES_LEFT.
109 int result = imageLexer.TokenToChar(token); in HWTEST_F()
115 * @tc.desc: test the token in Lexer's TokenToChar function is BRACES_RIGHT.
125 int result = imageLexer.TokenToChar(token); in HWTEST_F()
131 * @tc.desc: test the token in Lexer's TokenToChar function is BRACKETS_LEFT.
141 int result = imageLexer.TokenToChar(toke in HWTEST_F()
[all...]
/foundation/ability/idl_tool/parser/
H A Dlexer.h76 static int TokenToChar(Token token);
H A Dlexer.cpp236 int Lexer::TokenToChar(Token token) in TokenToChar() function in OHOS::Idl::Lexer
H A Dparser.cpp114 lexer_.SkipCurrentLine(Lexer::TokenToChar(Token::BRACKETS_RIGHT)); in ParseInterface()
419 lexer_.SkipCurrentLine(Lexer::TokenToChar(Token::BRACES_RIGHT)); in ParseMethod()

Completed in 3 milliseconds