Home
last modified time | relevance | path

Searched defs:KeywordString (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/
DkeywordString.h24 struct KeywordString { struct
25 constexpr KeywordString(std::string_view s, TokenType t) : KeywordString(s, t, t) {} in KeywordString() function
26 …constexpr KeywordString(std::string_view s, TokenType t, TokenType k) : str_(s), tokenType_(t), ke… in KeywordString() function
28 explicit KeywordString(std::string_view &s) : str_(s) {} in KeywordString() argument
30 TokenType GetTokenType() const in GetTokenType()
35 TokenType GetKeywordType() const in GetKeywordType()
40 std::string_view Str() const in Str()
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordString.h25 struct KeywordString { struct
26 …constexpr KeywordString(std::string_view s, TokenType t, TokenType k) : str(s), tokenType(t), keyw… in KeywordString() argument
28 explicit KeywordString(std::string_view &s) : str(s) {} in KeywordString() argument
30 std::string_view str;