Home
last modified time | relevance | path

Searched refs:SetKeyword (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/
DkeywordsBase.h45 void SetKeyword(KeywordString kws) const in SetKeyword() function
48 util_.SetKeyword({kws.Str(), TokenType::LITERAL_IDENT, kws.GetKeywordType()}); in SetKeyword()
51 util_.SetKeyword(kws); in SetKeyword()
57 void SetKeyword(KeywordString kws) const in SetKeyword() function
60 util_.SetKeyword({kws.Str(), TokenType::LITERAL_IDENT, kws.GetKeywordType()}); in SetKeyword()
62 util_.SetKeyword(HANDLER(util_, kws.Str(), kws.GetTokenType())); in SetKeyword()
DkeywordsUtil.h84 inline void SetKeyword(KeywordString kws) const in SetKeyword() function
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.h48 inline void SetKeyword(std::string_view str, TokenType type);
71 inline void KeywordsUtil::SetKeyword(std::string_view str, TokenType type) in SetKeyword() function
DkeywordsUtil.cpp275 Keywords::SetKeyword(this, kws); in ScanIdContinueMaybeKeyword()
/arkcompiler/ets_frontend/es2panda/lexer/templates/
Dkeywords.h.erb38 static void SetKeyword(KeywordsUtil *util, const KeywordString& kws) {
43 return util->SetKeyword<<%= kw[1] %>>(kws.str, kws.tokenType);
68 util_.SetKeyword<<%=kw[1]%>>("<%=key%>", <%=kw[0]%>);
/arkcompiler/ets_frontend/ets2panda/lexer/templates/
Dkeywords.h.erb59 …case <%=token_type_prefix + kw.token %>: Util().SetKeyword(Handle_<%=kw.name %>(Util(), "<%=kw.nam…
100 SetKeyword<Handle_<%=key%>>({"<%=key%>", <%= token_type_prefix + kw_desc.token%>});
106SetKeyword({"<%=key%>", <%=token_type_prefix + token_type%>, <%=token_type_prefix + kw_desc.token%…
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …erKeyword",l[l.ObjectKeyword=146]="ObjectKeyword",l[l.SetKeyword=147]="SetKeyword",l[l.StringKeywo…