Home
last modified time | relevance | path

Searched refs:MethodDefinition (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/arkcompiler/ets_frontend/ets2panda/ir/base/
DmethodDefinition.cpp27 ScriptFunction *MethodDefinition::Function() in Function()
32 const ScriptFunction *MethodDefinition::Function() const in Function()
37 PrivateFieldKind MethodDefinition::ToPrivateFieldKind(bool const isStatic) const in ToPrivateFieldKind()
55 void MethodDefinition::Iterate(const NodeTraverser &cb) const in Iterate()
69 void MethodDefinition::TransformChildren(const NodeTransformer &cb) in TransformChildren()
83 void MethodDefinition::Dump(ir::AstDumper *dumper) const in Dump()
125 void MethodDefinition::Dump(ir::SrcDumper *dumper) const in Dump()
175 void MethodDefinition::Compile(compiler::PandaGen *pg) const in Compile()
180 void MethodDefinition::Compile(compiler::ETSGen *etsg) const in Compile()
185 checker::Type *MethodDefinition::Check(checker::TSChecker *checker) in Check()
[all …]
DmethodDefinition.h32 class MethodDefinition : public ClassElement {
34 MethodDefinition() = delete;
35 ~MethodDefinition() override = default;
37 NO_COPY_SEMANTIC(MethodDefinition);
38 NO_MOVE_SEMANTIC(MethodDefinition);
40 using OverloadsT = ArenaVector<MethodDefinition *>;
42 …explicit MethodDefinition(MethodDefinitionKind const kind, Expression *const key, Expression *cons… in MethodDefinition() function
93 void AddOverload(MethodDefinition *const overload) in AddOverload()
98 [[nodiscard]] bool HasOverload(MethodDefinition *overload) noexcept in HasOverload()
108 …[[nodiscard]] MethodDefinition *Clone(ArenaAllocator *allocator, AstNode *parent = nullptr) overri…
DclassDefinition.h28 class MethodDefinition; variable
62 ArenaVector<TSClassImplements *> &&implements, MethodDefinition *ctor, in DEFINE_BITOPS()
224 [[nodiscard]] MethodDefinition *Ctor() noexcept in DEFINE_BITOPS()
229 void SetCtor(MethodDefinition *ctor) in DEFINE_BITOPS()
299 MethodDefinition *ctor_ {}; in DEFINE_BITOPS()
/arkcompiler/ets_frontend/es2panda/ir/base/
DmethodDefinition.cpp28 const ScriptFunction *MethodDefinition::Function() const in Function()
33 ScriptFunction *MethodDefinition::Function() in Function()
38 void MethodDefinition::Iterate(const NodeTraverser &cb) const in Iterate()
58 void MethodDefinition::Dump(ir::AstDumper *dumper) const in Dump()
98 void MethodDefinition::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
100 checker::Type *MethodDefinition::Check([[maybe_unused]] checker::Checker *checker) const in Check()
105 void MethodDefinition::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
DclassDefinition.h50 class MethodDefinition;
60 ArenaVector<TSClassImplements *> &&implements, MethodDefinition *ctor, in ClassDefinition()
61MethodDefinition *staticInitializer, MethodDefinition *instanceInitializer, in ClassDefinition()
167 MethodDefinition *Ctor() in Ctor()
173 MethodDefinition *StaticInitializer() const in StaticInitializer()
178 MethodDefinition *InstanceInitializer() const in InstanceInitializer()
251 …void CompileGetterOrSetter(compiler::PandaGen *pg, compiler::VReg dest, const MethodDefinition *pr…
258 MethodDefinition *ctor_;
259 MethodDefinition *staticInitializer_;
260 MethodDefinition *instanceInitializer_;
DmethodDefinition.h42 class MethodDefinition : public Statement {
44 explicit MethodDefinition(MethodDefinitionKind kind, Expression *key, FunctionExpression *value, in MethodDefinition() function
119 const ArenaVector<MethodDefinition *> &Overloads() const in Overloads()
144 void SetOverloads(ArenaVector<MethodDefinition *> &&overloads) in SetOverloads()
149 void AddOverload(MethodDefinition *overload) in AddOverload()
180 ArenaVector<MethodDefinition *> overloads_;
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-class-definition-expected.txt24 "type": "MethodDefinition",
146 "type": "MethodDefinition",
267 "type": "MethodDefinition",
389 "type": "MethodDefinition",
468 "type": "MethodDefinition",
546 "type": "MethodDefinition",
624 "type": "MethodDefinition",
702 "type": "MethodDefinition",
780 "type": "MethodDefinition",
873 "type": "MethodDefinition",
[all …]
Dtest-class-expression-expected.txt87 "type": "MethodDefinition",
166 "type": "MethodDefinition",
272 "type": "MethodDefinition",
451 "type": "MethodDefinition",
530 "type": "MethodDefinition",
608 "type": "MethodDefinition",
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-class-definition-expected.txt25 "type": "MethodDefinition",
151 "type": "MethodDefinition",
276 "type": "MethodDefinition",
398 "type": "MethodDefinition",
478 "type": "MethodDefinition",
557 "type": "MethodDefinition",
636 "type": "MethodDefinition",
715 "type": "MethodDefinition",
794 "type": "MethodDefinition",
888 "type": "MethodDefinition",
[all …]
Dtest-class-expression-expected.txt90 "type": "MethodDefinition",
170 "type": "MethodDefinition",
278 "type": "MethodDefinition",
459 "type": "MethodDefinition",
539 "type": "MethodDefinition",
618 "type": "MethodDefinition",
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-method-overload3-expected.txt24 "type": "MethodDefinition",
103 "type": "MethodDefinition",
167 "type": "MethodDefinition",
231 "type": "MethodDefinition",
Dtest-class-method-overload-expected.txt24 "type": "MethodDefinition",
117 "type": "MethodDefinition",
181 "type": "MethodDefinition",
245 "type": "MethodDefinition",
353 "type": "MethodDefinition",
524 "type": "MethodDefinition",
588 "type": "MethodDefinition",
681 "type": "MethodDefinition",
745 "type": "MethodDefinition",
809 "type": "MethodDefinition",
[all …]
Dtest_override2-expected.txt24 "type": "MethodDefinition",
103 "type": "MethodDefinition",
181 "type": "MethodDefinition",
316 "type": "MethodDefinition",
493 "type": "MethodDefinition",
572 "type": "MethodDefinition",
Dtest-class-method-overload6-expected.txt24 "type": "MethodDefinition",
103 "type": "MethodDefinition",
181 "type": "MethodDefinition",
259 "type": "MethodDefinition",
Dtest-class-constructor19-expected.txt24 "type": "MethodDefinition",
151 "type": "MethodDefinition",
278 "type": "MethodDefinition",
357 "type": "MethodDefinition",
464 "type": "MethodDefinition",
571 "type": "MethodDefinition",
678 "type": "MethodDefinition",
Dtest-class-method-overload2-expected.txt24 "type": "MethodDefinition",
103 "type": "MethodDefinition",
167 "type": "MethodDefinition",
291 "type": "MethodDefinition",
Dtest-class-method-overload12-expected.txt24 "type": "MethodDefinition",
103 "type": "MethodDefinition",
167 "type": "MethodDefinition",
/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-class-method-overload3-expected.txt25 "type": "MethodDefinition",
105 "type": "MethodDefinition",
170 "type": "MethodDefinition",
235 "type": "MethodDefinition",
Dtest-class-method-overload-expected.txt25 "type": "MethodDefinition",
120 "type": "MethodDefinition",
185 "type": "MethodDefinition",
250 "type": "MethodDefinition",
358 "type": "MethodDefinition",
534 "type": "MethodDefinition",
599 "type": "MethodDefinition",
693 "type": "MethodDefinition",
757 "type": "MethodDefinition",
822 "type": "MethodDefinition",
[all …]
Dtest-class-method-overload6-expected.txt25 "type": "MethodDefinition",
105 "type": "MethodDefinition",
184 "type": "MethodDefinition",
263 "type": "MethodDefinition",
Dtest-class-method-overload2-expected.txt25 "type": "MethodDefinition",
105 "type": "MethodDefinition",
170 "type": "MethodDefinition",
297 "type": "MethodDefinition",
Dtest-class-definiton18-expected.txt25 "type": "MethodDefinition",
105 "type": "MethodDefinition",
170 "type": "MethodDefinition",
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparser.h149 ir::MethodDefinition *ParseClassGetterSetterMethod(const ArenaVector<ir::AstNode *> &properties,
152 ir::MethodDefinition *ParseInterfaceGetterSetterMethod(ir::ModifierFlags modifiers);
161 …ir::MethodDefinition *ParseInterfaceMethod(ir::ModifierFlags flags, ir::MethodDefinitionKind metho…
165 …ir::MethodDefinition *ParseClassMethodDefinition(ir::Identifier *methodName, ir::ModifierFlags mod…
169 …ir::MethodDefinition *ParseClassMethod(ClassElementDescriptor *desc, const ArenaVector<ir::AstNode…
196 ir::MethodDefinition *CreateProxyMethodDefinition(ir::MethodDefinition const *method,
198 ir::MethodDefinition *CreateProxyConstructorDefinition(ir::MethodDefinition const *method);
199 …void AddProxyOverloadToMethodWithDefaultParams(ir::MethodDefinition *method, ir::Identifier *ident…
302 bool CheckClassElement(ir::AstNode *property, ir::MethodDefinition *&ctor,
307 …void CreateImplicitConstructor(ir::MethodDefinition *&ctor, ArenaVector<ir::AstNode *> &properties,
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSemitter.h84 void GenInterfaceMethodDefinition(const ir::MethodDefinition *methodDef, bool external);
88 pandasm::AnnotationData GenAnnotationEnclosingMethod(const ir::MethodDefinition *methodDef);
91 ir::MethodDefinition *FindAsyncImpl(ir::ScriptFunction *asyncFunc);
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dmethods-expected.txt26 "type": "MethodDefinition",
161 "type": "MethodDefinition",
296 "type": "MethodDefinition",
431 "type": "MethodDefinition",
566 "type": "MethodDefinition",
701 "type": "MethodDefinition",
836 "type": "MethodDefinition",
971 "type": "MethodDefinition",
1108 "type": "MethodDefinition",
1229 "type": "MethodDefinition",
[all …]

12345678910>>...41