Home
last modified time | relevance | path

Searched refs:KeywordsUtil (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/
H A Dkeywords.cpp22 KeywordString JSKeywords::Handle_as([[maybe_unused]] const KeywordsUtil &util, std::string_view src, in Handle_as()
28 KeywordString JSKeywords::Handle_await(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_await()
41 KeywordString JSKeywords::Handle_yield(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_yield()
54 KeywordString TSKeywords::Handle_as(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_as()
59 KeywordString TSKeywords::Handle_await(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_await()
64 KeywordString TSKeywords::Handle_yield(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_yield()
69 KeywordString ASKeywords::Handle_as(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_as()
H A DkeywordsUtil.h31 class KeywordsUtil { class
33 explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags) : lexer_(lexer), flags_(flags) {} in KeywordsUtil() function in ark::es2panda::lexer::KeywordsUtil
34 explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags, char32_t cp) in KeywordsUtil() function in ark::es2panda::lexer::KeywordsUtil
38 NO_COPY_SEMANTIC(KeywordsUtil);
39 DEFAULT_MOVE_SEMANTIC(KeywordsUtil);
40 ~KeywordsUtil() = default;
H A DkeywordsBase.h26 explicit Keywords(Lexer *lexer, lexer::NextTokenFlags flags) : util_(KeywordsUtil(lexer, flags)) {} in Keywords()
31 KeywordsUtil &Util() in Util()
36 const KeywordsUtil &Util() const in Util()
56 template <KeywordString HANDLER(const KeywordsUtil &, std::string_view, TokenType)>
67 KeywordsUtil util_;
H A DkeywordsUtil.cpp174 bool KeywordsUtil::IsIdentifierStart(char32_t cp) in IsIdentifierStart()
184 bool KeywordsUtil::IsIdentifierPart(char32_t cp) in IsIdentifierPart()
195 void KeywordsUtil::ScanIdentifierStart(const Keywords *kws, char32_t cp) in ScanIdentifierStart()
197 if (!KeywordsUtil::IsIdentifierStart(cp)) { in ScanIdentifierStart()
206 void KeywordsUtil::ScanIdContinue() in ScanIdContinue()
252 void KeywordsUtil::ScanIdContinueMaybeKeyword(const Keywords *kws, Span<const KeywordString> map) in ScanIdContinueMaybeKeyword()
289 char32_t KeywordsUtil::ScanUnicodeEscapeSequence() in ScanUnicodeEscapeSequence()
H A DETSLexer.cpp82 if (KeywordsUtil::IsIdentifierStart(nextCp) || IsDecimalDigit(nextCp)) { in CheckNumberLiteralEnd()
H A Dlexer.cpp233 if (KeywordsUtil::IsIdentifierStart(nextCp) || IsDecimalDigit(nextCp)) { in CheckNumberLiteralEnd()
1067 if (!KeywordsUtil::IsIdentifierPart(cp)) { in ScanRegExpFlags()
1293 KeywordsUtil &kwu = kws->Util(); in NextToken()
H A Dlexer.h303 friend class KeywordsUtil;
/arkcompiler/ets_frontend/es2panda/lexer/
H A DkeywordsUtil.h31 class KeywordsUtil { class
33 explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags) : lexer_(lexer), flags_(flags) {} in KeywordsUtil() function in panda::es2panda::lexer::KeywordsUtil
34 explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags, char32_t cp) in KeywordsUtil() function in panda::es2panda::lexer::KeywordsUtil
38 NO_COPY_SEMANTIC(KeywordsUtil);
39 DEFAULT_MOVE_SEMANTIC(KeywordsUtil);
40 ~KeywordsUtil() = default;
71 inline void KeywordsUtil::SetKeyword(std::string_view str, TokenType type) in SetKeyword()
H A DkeywordsUtil.cpp175 bool KeywordsUtil::IsIdentifierStart(char32_t cp) in IsIdentifierStart()
185 bool KeywordsUtil::IsIdentifierPart(char32_t cp) in IsIdentifierPart()
199 void KeywordsUtil::ScanIdentifierStart(char32_t cp) in ScanIdentifierStart()
201 if (!KeywordsUtil::IsIdentifierStart(cp)) { in ScanIdentifierStart()
210 void KeywordsUtil::ScanIdContinue() in ScanIdContinue()
256 void KeywordsUtil::ScanIdContinueMaybeKeyword(Span<const KeywordString> map) in ScanIdContinueMaybeKeyword()
292 char32_t KeywordsUtil::ScanUnicodeEscapeSequence() in ScanUnicodeEscapeSequence()
H A Dlexer.h175 friend class KeywordsUtil;
H A Dlexer.cpp229 if (KeywordsUtil::IsIdentifierStart(nextCp) || IsDecimalDigit(nextCp)) { in CheckNumberLiteralEnd()
1131 if (!KeywordsUtil::IsIdentifierPart(cp)) { in ScanRegExpFlags()
1389 KeywordsUtil &kwu = kws.Util(); in NextToken()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A Dtoken.h146 friend class KeywordsUtil;
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A Dtoken.h141 friend class KeywordsUtil;

Completed in 8 milliseconds