Home
last modified time | relevance | path

Searched refs:methodDefinition (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DambientLowering.cpp83 auto methodDefinition = parser->CreateFormattedClassMethodDefinition(sourceCode); in CreateMethodFunctionDefinition() local
85 methodDefinition->SetRange(node->Range()); in CreateMethodFunctionDefinition()
86 methodDefinition->SetParent(node->Parent()); in CreateMethodFunctionDefinition()
87 methodDefinition->AddModifier(ir::ModifierFlags::DECLARE); in CreateMethodFunctionDefinition()
88 return methodDefinition->AsMethodDefinition(); in CreateMethodFunctionDefinition()
H A DgenericBridgesLowering.cpp78 ir::MethodDefinition *const methodDefinition, in AddGenericBridge()
90 bridgeMethod->AddModifier(methodDefinition->Modifiers()); in AddGenericBridge()
91 bridgeMethod->AddAstNodeFlags(methodDefinition->GetAstNodeFlags()); in AddGenericBridge()
95 auto *scope = NearestScope(methodDefinition); in AddGenericBridge()
112 // is not suitable for this case. Moreover, we have to save and restore proper type for `methodDefinition` because in AddGenericBridge()
114 auto *methodType = methodDefinition->Id()->Variable()->TsType()->AsETSFunctionType(); in AddGenericBridge()
121 methodDefinition->Id()->Variable()->SetTsType(methodType); in AddGenericBridge()
77 AddGenericBridge(ir::ClassDefinition const *const classDefinition, ir::MethodDefinition *const methodDefinition, checker::Signature const *baseSignature, ir::ScriptFunction const *const derivedFunction) const AddGenericBridge() argument
H A DgenericBridgesLowering.h49 void AddGenericBridge(ir::ClassDefinition const *classDefinition, ir::MethodDefinition *methodDefinition,
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DetsWarningAnalyzer.cpp22 #include "ir/base/methodDefinition.h"
228 const auto methodDefinition = node->AsMethodDefinition(); in ETSWarningRemoveAsync() local
229 if (methodDefinition->IsAsync()) { in ETSWarningRemoveAsync()
230 ETSThrowWarning("Replace asynchronous function with coroutine", methodDefinition->Start()); in ETSWarningRemoveAsync()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DreturnStatement.cpp18 #include <ir/base/methodDefinition.h>
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DscriptFunction.cpp21 #include <ir/base/methodDefinition.h>
H A DclassDefinition.h21 #include <ir/base/methodDefinition.h>
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSFormattedParser.cpp25 #include "ir/base/methodDefinition.h"
459 auto *const methodDefinition = ParseClassMethodDefinition(memberName, modifiers); in CreateConstructorDefinition() local
460 methodDefinition->SetStart(startLoc); in CreateConstructorDefinition()
462 return methodDefinition; in CreateConstructorDefinition()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h97 void VisitMethodDefinition(ir::MethodDefinition *methodDefinition) override;
H A DscopesInitPhase.cpp84 void ScopesInitPhase::VisitMethodDefinition(ir::MethodDefinition *methodDefinition) in VisitMethodDefinition() argument
86 Iterate(methodDefinition); in VisitMethodDefinition()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp25 #include "ir/base/methodDefinition.h"
509 auto *methodDefinition = it->AsMethodDefinition(); in VisitComputedProperty() local
510 if (!methodDefinition->Computed() || in VisitComputedProperty()
511 (!methodDefinition->HasDecorators() && !methodDefinition->HasParamDecorators())) { in VisitComputedProperty()
514 auto *key = methodDefinition->Key(); in VisitComputedProperty()
518 methodDefinition->SetKey(newKey); in VisitComputedProperty()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.cpp30 #include <ir/base/methodDefinition.h>
453 auto *methodDefinition = scriptFunction->Parent()->Parent()->AsMethodDefinition(); in GenAnnotations() local
455 for (auto *anno : methodDefinition->Annotations()) { in GenAnnotations()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h22 #include <ir/base/methodDefinition.h>
H A DexpressionParser.cpp20 #include <ir/base/methodDefinition.h>
H A DparserImpl.cpp29 #include <ir/base/methodDefinition.h>
/arkcompiler/ets_frontend/es2panda/util/
H A Dhelpers.cpp22 #include <ir/base/methodDefinition.h>
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp34 #include <ir/base/methodDefinition.h>

Completed in 38 milliseconds