/arkcompiler/ets_frontend/ets2panda/test/unit/ |
H A D | node_creator.h | 39 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 D | variableDeclaration.cpp | 67 case VariableDeclarationKind::LET: { in Dump() 93 case VariableDeclarationKind::LET: in Dump()
|
H A D | variableDeclaration.h | 29 enum class VariableDeclarationKind { CONST, LET, VAR }; member in ark::es2panda::ir::VariableDeclaration::VariableDeclarationKind
|
H A D | variableDeclarator.h | 28 LET, member in ark::es2panda::ark::es2panda::ir::VariableDeclaratorFlag
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | variableDeclaratorBuilder.h | 48 ark::es2panda::ir::VariableDeclaratorFlag flag_ = ark::es2panda::ir::VariableDeclaratorFlag::LET;
|
H A D | variableDeclarationBuilder.h | 63 VariableDeclaration::VariableDeclarationKind kind_ = VariableDeclaration::VariableDeclarationKind::LET;
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserFlags.h | 39 LET = (1 << 4), member in panda::es2panda::parser::VariableParsingFlags
|
H A D | statementParser.cpp | 595 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 D | variableDeclaration.h | 36 enum class VariableDeclarationKind { CONST, LET, VAR }; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::VariableDeclaration::VariableDeclarationKind
|
H A D | variableDeclaration.cpp | 42 case VariableDeclarationKind::LET: { in Dump()
|
H A D | variableDeclarator.cpp | 64 if (decl->Kind() == ir::VariableDeclaration::VariableDeclarationKind::LET && !decl->Parent()->IsCatchClause()) { in Compile()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | parserFlags.h | 40 LET = 1U << 4U, member in ark::es2panda::parser::VariableParsingFlags
|
H A D | statementParser.cpp | 187 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 D | statementTSParser.cpp | 213 return ParseVariableDeclaration(VariableParsingFlags::LET); in GetDeclarationForNamedExport()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | variableFlags.h | 27 _(LET, LetDecl) \
|
H A D | declaration.h | 292 return DeclType::LET;
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | variableFlags.h | 26 _(LET, LetDecl) \
|
H A D | declaration.h | 284 return DeclType::LET;
|
H A D | scope.cpp | 875 case DeclType::LET: { in SetBindingProps()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 1102 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 D | helpers.cpp | 376 case binder::DeclType::LET: { in GetTypeOfVariable()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | helpers.cpp | 421 case varbinder::DeclType::LET: { in GetDeclTsType()
|
/arkcompiler/ets_frontend/ets2panda/test/unit/public/ |
H A D | ast_builder_test.cpp | 398 .SetKind(ark::es2panda::ir::VariableDeclaration::VariableDeclarationKind::LET) in TEST_F()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | enumLowering.cpp | 749 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 D | typeCheckingHelpers.cpp | 443 case varbinder::DeclType::LET:
|