Home
last modified time | relevance | path

Searched refs:Ident (Results 1 - 25 of 73) sorted by relevance

123

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DfunctionDeclaration.cpp72 if (param->IsETSParameterExpression() && param->AsETSParameterExpression()->Ident() != nullptr && in Dump()
73 param->AsETSParameterExpression()->Ident()->Name() == varbinder::VarBinder::MANDATORY_PARAM_THIS && in Dump()
74 param->AsETSParameterExpression()->Ident()->TypeAnnotation() != nullptr && in Dump()
75 param->AsETSParameterExpression()->Ident()->TypeAnnotation()->IsETSTypeReference() && in Dump()
76 param->AsETSParameterExpression()->Ident()->TypeAnnotation()->AsETSTypeReference()->Part() != nullptr && in Dump()
77 param->AsETSParameterExpression()->Ident()->TypeAnnotation()->AsETSTypeReference()->Part()->Name() != in Dump()
80 ->Ident() in Dump()
87 ->Ident() in Dump()
H A DlabelledStatement.h44 const Identifier *Ident() const in Ident() function in ark::es2panda::ark::es2panda::ir::LabelledStatement
49 Identifier *Ident() in Ident() function in ark::es2panda::ark::es2panda::ir::LabelledStatement
H A DcontinueStatement.h41 [[nodiscard]] const Identifier *Ident() const noexcept
46 Identifier *Ident() noexcept
H A DbreakStatement.h42 [[nodiscard]] const Identifier *Ident() const noexcept
47 Identifier *Ident() noexcept
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DevaluateContext.cpp37 !stmt->AsClassDeclaration()->Definition()->Ident()->Name().Is(compiler::Signatures::ETS_GLOBAL); in FindEvaluationMethod()
41 const auto &expectedMethodName = methodClass->Ident()->Name(); in FindEvaluationMethod()
/arkcompiler/ets_frontend/ets2panda/parser/program/
H A DentityNameVisitor.cpp22 name_ = classDecl->AsClassDeclaration()->Definition()->Ident()->Name(); in VisitClassDeclaration()
51 name_ = structDecl->AsETSStructDeclaration()->Definition()->Ident()->Name(); in VisitETSStructDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DclassDeclaration.cpp63 const auto *node = def_->Ident() ? def_->Ident() : this->Parent(); in Compile()
H A DcontinueStatement.h38 const Identifier *Ident() const in Ident() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ContinueStatement
H A DbreakStatement.h39 const Identifier *Ident() const in Ident() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::BreakStatement
H A DlabelledStatement.h47 const Identifier *Ident() const in Ident() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::LabelledStatement
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DetsWarningAnalyzer.cpp53 classDef->Ident()->Name() == it->AsClassDeclaration()->Definition()->Ident()->Name()) { in AnalyzeClassDefForFinalModifier()
67 superClass->AsETSTypeReference()->Part()->Name()->AsIdentifier()->Name() == classDef->Ident()->Name()) { in AnalyzeClassDefForFinalModifier()
73 ETSThrowWarning("Suggest 'final' modifier for class", classDef->Ident()->Start()); in AnalyzeClassDefForFinalModifier()
91 classDef->Ident()->Name() == it->AsClassDeclaration()->Definition()->Ident()->Name()) { in AnalyzeClassMethodForFinalModifier()
/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DnamespaceDefinition.h74 [[nodiscard]] const Identifier *Ident() const noexcept
79 [[nodiscard]] Identifier *Ident() noexcept
H A DscriptFunction.cpp157 if (param->IsETSParameterExpression() && param->AsETSParameterExpression()->Ident() != nullptr && in Dump()
158 param->AsETSParameterExpression()->Ident()->Name() == varbinder::VarBinder::MANDATORY_PARAM_THIS) { in Dump()
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsParameterExpression.h40 [[nodiscard]] const Identifier *Ident() const noexcept;
41 [[nodiscard]] Identifier *Ident() noexcept;
H A DetsParameterExpression.cpp50 const Identifier *ETSParameterExpression::Ident() const noexcept
55 Identifier *ETSParameterExpression::Ident() noexcept
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlocalClassLowering.cpp111 newParam->Ident()->SetTsType(type); in CreateParam()
116 newParam->Ident()->SetVariable(paramVar); in CreateParam()
149 sigParams.insert(sigParams.begin(), newParam->Ident()->Variable()->AsLocalVariable()); in ModifyConstructorParameters()
150 parameterMap[var] = newParam->Ident()->Variable()->AsLocalVariable(); in ModifyConstructorParameters()
245 LOG(DEBUG, ES2PANDA) << "Instantiating local class: " << classDef->Ident()->Name(); in Perform()
H A DdefaultParameterLowering.cpp151 id = checker->AllocNode<ir::Identifier>(method->Parent()->AsClassDefinition()->Ident()->Name(), in CreateFunctionBody()
317 expr->AsETSParameterExpression()->Ident()->Clone(checker->Allocator(), nullptr)->AsIdentifier(); in ProcessGlobalFunctionDefinition()
323 expr->AsETSParameterExpression()->Ident()->Clone(checker->Allocator(), nullptr)->AsIdentifier(); in ProcessGlobalFunctionDefinition()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DASparser.cpp125 const util::StringView &ident = Lexer()->GetToken().Ident(); in ParseTypeAliasDeclaration()
347 returnNode = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParsePatternElementToken()
433 key = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParsePropertyDefinition()
575 auto *typeName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseTypeAnnotationLiteralIdentHelper()
589 typeName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseTypeAnnotationLiteralIdentHelper()
848 auto *identNode = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParsePrimaryExpressionIdent()
878 auto *extendsName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseInterfaceExtendsClause()
892 extendsName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseInterfaceExtendsClause()
940 if (!Lexer()->GetToken().Ident().Is("key")) { in ParseIndexSignature()
944 auto *key = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocato in ParseIndexSignature()
[all...]
H A DETSparser.cpp465 auto *memberName = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseInnerConstructorDeclaration()
527 if (Lexer()->GetToken().Ident().Is("Symbol")) { in ParseInnerRest()
643 const util::StringView ident = Lexer()->GetToken().Ident(); in ParseTypeAliasDeclaration()
782 lambdaParams += param->AsETSParameterExpression()->Ident()->Name().Mutf8(); in GetNameForTypeNode()
784 lambdaParams += GetNameForTypeNode(param->AsETSParameterExpression()->Ident()->TypeAnnotation()); in GetNameForTypeNode()
1086 auto importPath = Lexer()->GetToken().Ident(); in ParseSourceFromClause()
1174 auto *exported = AllocNode<ir::Identifier>(token.Ident(), Allocator()); in ParseSingleExport()
1229 auto *imported = AllocNode<ir::Identifier>(importedToken.Ident(), Allocator()); in ParseNamedSpecifiers()
1250 auto *imported = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseNamedSpecifiers()
1314 auto *imported = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocato in ParseImportDefaultSpecifier()
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DdynamicContext.cpp45 : DynamicContext(cg, LabelTarget(labelledStmt->Ident()->Name())), labelledStmt_(labelledStmt) in LabelContext()
279 compiler::Label *target = etsg->ControlFlowChangeBreak(statement->AsBreakStatement()->Ident()); in EmitFinalizerInsertion()
282 compiler::Label *target = etsg->ControlFlowChangeContinue(statement->AsContinueStatement()->Ident()); in EmitFinalizerInsertion()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DclassDefinition.h93 const Identifier *Ident() const in Ident() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ClassDefinition
98 Identifier *Ident() in Ident() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ClassDefinition
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DnodeHasType.cpp49 if (ast->IsClassDefinition() && ast->AsClassDefinition()->Ident()->Name() == "ETSGLOBAL") { in operator ()()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp372 name = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsAmbientExternalModuleDeclaration()
413 auto name = lexer_->GetToken().Ident(); in ParseTsModuleOrNamespaceDelaration()
498 auto *id = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsImportEqualsDeclaration()
549 auto *id = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsNamespaceExportDeclaration()
714 auto location = classDefinition->Ident() ? classDefinition->Ident()->Start() : startLoc; in ParseClassDeclaration()
748 const util::StringView &ident = lexer_->GetToken().Ident(); in ParseTsTypeAliasDeclaration()
787 const util::StringView &ident = lexer_->GetToken().Ident(); in ParseTsInterfaceDeclaration()
803 auto *id = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsInterfaceDeclaration()
870 ir::Expression *expr = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsInterfaceExtends()
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp401 const auto identNode = classDef->Ident(); in BindClassName()
425 const auto locStart = classDef->Ident()->Start(); in BindClassDefinition()
426 const auto &className = classDef->Ident()->Name(); in BindClassDefinition()
935 paramExpr->Ident()->SetVariable(var); in VisitETSParameterExpression()
1007 classDef->Ident()->SetName(anonymousName.View()); in VisitETSNewClassInstanceExpression()
1064 auto globalId = program->GlobalClass()->Ident(); in AddGlobalToBinder()
1186 auto label = stmt->Ident(); in VisitBreakStatement()
1196 auto label = stmt->Ident(); in VisitContinueStatement()
1215 auto label = stmt->Ident(); in AttachLabelToScope()
1255 ident = def->Ident(); in AddGlobalDeclaration()
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DimportExportDecls.cpp179 fieldMap_.emplace(classDecl->Definition()->Ident()->Name(), classDecl); in VisitClassDeclaration()
259 typesMap.insert({stmt->AsClassDeclaration()->Definition()->Ident()->Name(), stmt}); in VerifyType()
261 stmt->AsClassDeclaration()->Definition()->Ident()->Name(), program, stmt->Start()); in VerifyType()

Completed in 19 milliseconds

123