Home
last modified time | relevance | path

Searched refs:LET (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/test/unit/
H A Dnode_creator.h39 auto varDecl = alloc_->New<ir::VariableDeclarator>(ir::VariableDeclaratorFlag::LET, CreateId(name)); in CreateVarDecl()
42 return alloc_->New<ir::VariableDeclaration>(ir::VariableDeclaration::VariableDeclarationKind::LET, alloc_, in CreateVarDecl()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DvariableDeclaration.cpp67 case VariableDeclarationKind::LET: { in Dump()
93 case VariableDeclarationKind::LET: in Dump()
H A DvariableDeclaration.h29 enum class VariableDeclarationKind { CONST, LET, VAR }; member in ark::es2panda::ir::VariableDeclaration::VariableDeclarationKind
H A DvariableDeclarator.h28 LET, member in ark::es2panda::ark::es2panda::ir::VariableDeclaratorFlag
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DvariableDeclaratorBuilder.h48 ark::es2panda::ir::VariableDeclaratorFlag flag_ = ark::es2panda::ir::VariableDeclaratorFlag::LET;
H A DvariableDeclarationBuilder.h63 VariableDeclaration::VariableDeclarationKind kind_ = VariableDeclaration::VariableDeclarationKind::LET;
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserFlags.h39 LET = (1 << 4), member in panda::es2panda::parser::VariableParsingFlags
H A DstatementParser.cpp595 auto *variableDecl = ParseVariableDeclaration(VariableParsingFlags::LET, isDeclare); in ParseLetStatement()
1553 initNode = ParseVariableDeclaration(varFlags | VariableParsingFlags::LET); in ParseForStatement()
2084 } else if (flags & VariableParsingFlags::LET) { in ParseVariableDeclarator()
2158 if ((flags & VariableParsingFlags::LET) && util::Helpers::IsGlobalIdentifier(lexer_->GetToken().Ident())) { in ParseVariableDeclaration()
2185 if (flags & VariableParsingFlags::LET) { in ParseVariableDeclaration()
2186 varKind = ir::VariableDeclaration::VariableDeclarationKind::LET; in ParseVariableDeclaration()
2717 decl = ParseVariableDeclaration(flag | VariableParsingFlags::LET, isDeclare, true); in ParseNamedExportDeclaration()
2751 decl = ParseVariableDeclaration(VariableParsingFlags::LET, isDeclare); in ParseNamedExportDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DvariableDeclaration.h36 enum class VariableDeclarationKind { CONST, LET, VAR }; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::VariableDeclaration::VariableDeclarationKind
H A DvariableDeclaration.cpp42 case VariableDeclarationKind::LET: { in Dump()
H A DvariableDeclarator.cpp64 if (decl->Kind() == ir::VariableDeclaration::VariableDeclarationKind::LET && !decl->Parent()->IsCatchClause()) { in Compile()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserFlags.h40 LET = 1U << 4U, member in ark::es2panda::parser::VariableParsingFlags
H A DstatementParser.cpp187 auto *variableDecl = ParseVariableDeclaration(VariableParsingFlags::LET); in ParseLetStatement()
889 return {nullptr, ParseVariableDeclaration(varFlags | VariableParsingFlags::LET)}; in ParseForLoopInitializer()
1344 (VariableParsingFlags::VAR | VariableParsingFlags::LET | VariableParsingFlags::CONST); in GetFlag()
1350 case VariableParsingFlags::LET: in GetFlag()
1351 return ir::VariableDeclaratorFlag::LET; in GetFlag()
1424 if ((flags & VariableParsingFlags::LET) != 0) { in ParseVariableDeclaration()
1425 varKind = ir::VariableDeclaration::VariableDeclarationKind::LET; in ParseVariableDeclaration()
1630 decl = ParseVariableDeclaration(VariableParsingFlags::LET); in ParseNamedExportDeclaration()
H A DstatementTSParser.cpp213 return ParseVariableDeclaration(VariableParsingFlags::LET); in GetDeclarationForNamedExport()
/arkcompiler/ets_frontend/es2panda/binder/
H A DvariableFlags.h27 _(LET, LetDecl) \
H A Ddeclaration.h292 return DeclType::LET;
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DvariableFlags.h26 _(LET, LetDecl) \
H A Ddeclaration.h284 return DeclType::LET;
H A Dscope.cpp875 case DeclType::LET: { in SetBindingProps()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp1102 res.push_back(CreateVariableDeclarationWithIdentify(name, VariableParsingFlags::LET, node, false, in VisitClassDeclaration()
1347 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateVariableDeclarationForDecorators()
1356 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateVariableDeclarationForDecorators()
1366 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateVariableDeclarationForDecorators()
1375 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateVariableDeclarationForDecorators()
1384 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateVariableDeclarationForDecorators()
1508 res.push_back(CreateVariableDeclarationWithIdentify(varName, VariableParsingFlags::LET, nullptr, in CreateMethodDecorators()
1873 } else if (flags & VariableParsingFlags::LET) { in CreateVariableDeclarationWithIdentify()
1874 varKind = ir::VariableDeclaration::VariableDeclarationKind::LET; in CreateVariableDeclarationWithIdentify()
1891 } else if (flags & VariableParsingFlags::LET) { in CreateVariableDeclarationWithIdentify()
[all...]
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dhelpers.cpp376 case binder::DeclType::LET: { in GetTypeOfVariable()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dhelpers.cpp421 case varbinder::DeclType::LET: { in GetDeclTsType()
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_builder_test.cpp398 .SetKind(ark::es2panda::ir::VariableDeclaration::VariableDeclarationKind::LET) in TEST_F()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DenumLowering.cpp749 checker->AllocNode<ir::VariableDeclarator>(ir::VariableDeclaratorFlag::LET, loopIdentifier, init);
754 ir::VariableDeclaration::VariableDeclarationKind::LET, checker->Allocator(), std::move(decls), false);
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCheckingHelpers.cpp443 case varbinder::DeclType::LET:

Completed in 25 milliseconds

12