Home
last modified time | relevance | path

Searched refs:TSEnumDeclaration (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-if-expected.txt21 "type": "TSEnumDeclaration",
66 "type": "TSEnumDeclaration",
95 "type": "TSEnumDeclaration",
Dtest-enum-declaration-expected.txt5 "type": "TSEnumDeclaration",
Dtest-enum-declaration6-expected.txt5 "type": "TSEnumDeclaration",
Dtest-type-annotation2-expected.txt5 "type": "TSEnumDeclaration",
Dtest_export-declaration-named-namespace-expected.txt395 "type": "TSEnumDeclaration",
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsEnumDeclaration.cpp33 void TSEnumDeclaration::Iterate(const NodeTraverser &cb) const in Iterate()
42 void TSEnumDeclaration::Dump(ir::AstDumper *dumper) const in Dump()
47 void TSEnumDeclaration::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
107 …binder::EnumMemberResult value = TSEnumDeclaration::EvaluateEnumMember(checker, enumVar, expr->Arg… in EvaluateUnaryExpression()
155 TSEnumDeclaration::EvaluateEnumMember(checker, enumVar, expr->AsBinaryExpression()->Left()); in EvaluateBinaryExpression()
157TSEnumDeclaration::EvaluateEnumMember(checker, enumVar, expr->AsBinaryExpression()->Right()); in EvaluateBinaryExpression()
216 binder::EnumMemberResult TSEnumDeclaration::EvaluateEnumMember(checker::Checker *checker, binder::E… in EvaluateEnumMember()
314 binder::EnumMemberResult res = TSEnumDeclaration::EvaluateEnumMember(checker, variable, init); in InferEnumVariableType()
359 checker::Type *TSEnumDeclaration::InferType(checker::Checker *checker, bool isConst) const in InferType()
386 checker::Type *TSEnumDeclaration::Check(checker::Checker *checker) const in Check()
[all …]
DtsEnumDeclaration.h41 class TSEnumDeclaration : public Statement {
43 …explicit TSEnumDeclaration(binder::TSEnumScope *scope, Identifier *key, ArenaVector<TSEnumMember *… in TSEnumDeclaration() function
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
Dinterface_enum_member-expected.txt5 "type": "TSEnumDeclaration",
/arkcompiler/ets_frontend/es2panda/binder/
Ddeclaration.h28 class TSEnumDeclaration; variable
159 class EnumLiteralDecl : public MultiDecl<ir::TSEnumDeclaration> {
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.h165 ir::UpdateNodes VisitTsEnumDeclaration(ir::TSEnumDeclaration *node, bool isExport = false);
167 util::StringView GetNameFromTsEnumDeclaration(const ir::TSEnumDeclaration *node) const;
168 …ir::CallExpression *CreateCallExpressionForTsEnum(ir::TSEnumDeclaration *node, util::StringView na…
Dtransformer.cpp1512 ir::UpdateNodes Transformer::VisitTsEnumDeclaration(ir::TSEnumDeclaration *node, bool isExport) in VisitTsEnumDeclaration()
1547 util::StringView Transformer::GetNameFromTsEnumDeclaration(const ir::TSEnumDeclaration *node) const in GetNameFromTsEnumDeclaration()
1553 ir::CallExpression *Transformer::CreateCallExpressionForTsEnum(ir::TSEnumDeclaration *node, util::S… in CreateCallExpressionForTsEnum()
/arkcompiler/ets_frontend/es2panda/ir/
DastNodeMapping.h74 _(TS_ENUM_DECLARATION, TSEnumDeclaration) \
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h78 class TSEnumDeclaration; variable
518 …ir::TSEnumDeclaration *ParseEnumMembers(ir::Identifier *key, const lexer::SourcePosition &enumStar…
520 …ir::TSEnumDeclaration *ParseEnumDeclaration(bool isExport = false, bool isDeclare = false, bool is…
DparserImpl.cpp3076 ir::TSEnumDeclaration *ParserImpl::ParseEnumMembers(ir::Identifier *key, const lexer::SourcePositio… in ParseEnumMembers()
3124 auto *enumDeclaration = AllocNode<ir::TSEnumDeclaration>( in ParseEnumMembers()
3133 ir::TSEnumDeclaration *ParserImpl::ParseEnumDeclaration(bool isExport, bool isDeclare, bool isConst) in ParseEnumDeclaration()
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h54 class TSEnumDeclaration; variable