Home
last modified time | relevance | path

Searched refs:IsMethodDefinition (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/parser/context/
DclassPrivateContext.cpp30 if (elem->IsMethodDefinition()) { in AddElement()
39 if (prop->IsMethodDefinition()) { in AddElement()
/arkcompiler/ets_frontend/es2panda/ir/base/
DclassDefinition.cpp146 if (!properties[i]->IsMethodDefinition()) { in CreateClassPublicBuffer()
229 if (!prop->IsMethodDefinition()) { in CreateClassPrivateBuffer()
282 if (!properties[i]->IsMethodDefinition() || compiled.Test(i)) { in CompileMissingProperties()
364 } else if (stmt->IsMethodDefinition()) { in CompileComputedKeys()
475 if (stmt->IsMethodDefinition()) { in BuildClassEnvironment()
DscriptFunction.cpp142 funcNode->Parent()->IsMethodDefinition() && in SourceCode()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DreturnStatement.cpp72 if (containingFunc->Parent()->Parent()->IsMethodDefinition()) { in Check()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DaliveAnalyzer.cpp235 if (!it->IsMethodDefinition() && IsStaticMember(it)) { in AnalyzeClassDef()
242 if (!it->IsMethodDefinition() && !IsStaticMember(it)) { in AnalyzeClassDef()
256 if (it->IsMethodDefinition()) { in AnalyzeClassDef()
Dobject.cpp454 if (!it->Declaration()->Node()->IsMethodDefinition() || in ResolveDeclaredMethodsOfObject()
824 if (!node->IsMethodDefinition()) { in IsAsyncMethod()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSfunction.cpp62 if (node->IsMethodDefinition() && node->AsClassElement()->Key()->IsIdentifier()) { in CompileSourceBlock()
DETSemitter.cpp430 } else if (prop->IsMethodDefinition()) { in GenInterfaceRecord()
502 if (parent->IsMethodDefinition()) { in GenClassRecord()
634 … return node->IsMethodDefinition() && node->AsMethodDefinition()->Id()->Name().Utf8() == implName; in FindAsyncImpl()
DASTVerifier.cpp631 … var->Declaration()->Node() != nullptr && !var->Declaration()->Node()->IsMethodDefinition() && in InvariantImportExportVariable()
DJSCompiler.cpp102 ASSERT(prop->IsMethodDefinition()); in CreateClassStaticProperties()
215 if (it->IsMethodDefinition()) { in CompileStaticFieldInitializers()
278 if (properties[i]->IsMethodDefinition()) { in CompileMissingProperties()
/arkcompiler/ets_frontend/ets2panda/ir/base/
DclassDefinition.cpp39 return element->IsMethodDefinition() && element->AsClassElement()->IsPrivateElement(); in HasPrivateMethod()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp367 ASSERT(node->Parent()->Parent()->IsMethodDefinition()); in GetClassDefiniton()
732 if (stmt->IsMethodDefinition()) { in SetFuncFlagsForDirectives()
795 !scriptFunc->Parent()->Parent()->IsMethodDefinition()) { in ShouldCheckConcurrent()
/arkcompiler/ets_frontend/ets2panda/ir/
DastNode.h464 ASSERT(IsMethodDefinition() || IsClassProperty() || IsClassStaticBlock()); in AST_NODE_REINTERPRET_MAPPING()
470 ASSERT(IsMethodDefinition() || IsClassProperty() || IsClassStaticBlock()); in AST_NODE_REINTERPRET_MAPPING()
/arkcompiler/ets_frontend/ets2panda/util/
DdeclgenEts2Ts.cpp440 if (prop->IsMethodDefinition()) { in GenInterfaceDeclaration()
492 if (prop->IsMethodDefinition()) { in GenClassDeclaration()
Dhelpers.cpp309 if (iter->IsMethodDefinition()) { in GetContainingClassMethodDefinition()
368 ASSERT(node->Parent()->Parent()->IsMethodDefinition()); in GetClassDefiniton()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp188 if (stmt->IsMethodDefinition()) { in CompileClassInitializer()
/arkcompiler/ets_frontend/ets2panda/parser/
DparserImpl.cpp215 if (!it->IsMethodDefinition() || it->AsMethodDefinition()->Kind() != methodKind) { in CheckAccessorPair()
618 !(property->IsMethodDefinition() && in ParseClassElement()
707 if (!property->IsMethodDefinition()) { in CheckClassElement()
DTypedParser.cpp546 … if (member->IsMethodDefinition() && member->AsMethodDefinition()->Function()->IsOverload() && in ParseTypeLiteralOrInterface()
981 !(property->IsMethodDefinition() && in ParseClassElement()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h461 if (node->IsMethodDefinition()) { in FunctionType()
782 ASSERT(methodDef->IsMethodDefinition()); in FillFieldsandMethods()
793 } else if (t->IsMethodDefinition()) { in FillFieldsandMethods()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp503 } else if (it->IsMethodDefinition()) { in VisitComputedProperty()
563 if (!it->IsClassProperty() && !it->IsMethodDefinition()) { in VisitPrivateElement()
1105 if (it->IsMethodDefinition()) { in VisitClassDeclaration()
1252 if (it->IsMethodDefinition()) { in HasPrivateIdentifierInDecorators()
2617 if (childNode->IsMethodDefinition() && in CheckTransformedAstNode()
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.h300 bool (*IsMethodDefinition)(es2panda_AstNode *ast); member
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp228 ASSERT(stmt->IsMethodDefinition()); in AddPrivateName()
Dbinder.cpp1068 (parent->IsMethodDefinition() && childNode == parent->AsMethodDefinition()->Key()); in ClassTdz()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DscopesInitPhase.cpp972 if (prop->IsMethodDefinition()) { in FilterInterfaceOverloads()
984 if (prop->IsMethodDefinition()) { in FilterOverloads()
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dscope.cpp765 …(node->AsStatement()->IsMethodDefinition() || node->IsClassProperty() || node->IsClassStaticBlock(… in AddBinding()

12