| /arkcompiler/ets_frontend/ets2panda/ir/base/ |
| D | methodDefinition.cpp | 27 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 …]
|
| D | methodDefinition.h | 32 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…
|
| D | classDefinition.h | 28 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/ |
| D | methodDefinition.cpp | 28 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()
|
| D | classDefinition.h | 50 class MethodDefinition; 60 ArenaVector<TSClassImplements *> &&implements, MethodDefinition *ctor, in ClassDefinition() 61 … MethodDefinition *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_;
|
| D | methodDefinition.h | 42 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/ |
| D | test-class-definition-expected.txt | 24 "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 …]
|
| D | test-class-expression-expected.txt | 87 "type": "MethodDefinition", 166 "type": "MethodDefinition", 272 "type": "MethodDefinition", 451 "type": "MethodDefinition", 530 "type": "MethodDefinition", 608 "type": "MethodDefinition",
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/js/ |
| D | test-class-definition-expected.txt | 25 "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 …]
|
| D | test-class-expression-expected.txt | 90 "type": "MethodDefinition", 170 "type": "MethodDefinition", 278 "type": "MethodDefinition", 459 "type": "MethodDefinition", 539 "type": "MethodDefinition", 618 "type": "MethodDefinition",
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-class-method-overload3-expected.txt | 24 "type": "MethodDefinition", 103 "type": "MethodDefinition", 167 "type": "MethodDefinition", 231 "type": "MethodDefinition",
|
| D | test-class-method-overload-expected.txt | 24 "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 …]
|
| D | test_override2-expected.txt | 24 "type": "MethodDefinition", 103 "type": "MethodDefinition", 181 "type": "MethodDefinition", 316 "type": "MethodDefinition", 493 "type": "MethodDefinition", 572 "type": "MethodDefinition",
|
| D | test-class-method-overload6-expected.txt | 24 "type": "MethodDefinition", 103 "type": "MethodDefinition", 181 "type": "MethodDefinition", 259 "type": "MethodDefinition",
|
| D | test-class-constructor19-expected.txt | 24 "type": "MethodDefinition", 151 "type": "MethodDefinition", 278 "type": "MethodDefinition", 357 "type": "MethodDefinition", 464 "type": "MethodDefinition", 571 "type": "MethodDefinition", 678 "type": "MethodDefinition",
|
| D | test-class-method-overload2-expected.txt | 24 "type": "MethodDefinition", 103 "type": "MethodDefinition", 167 "type": "MethodDefinition", 291 "type": "MethodDefinition",
|
| D | test-class-method-overload12-expected.txt | 24 "type": "MethodDefinition", 103 "type": "MethodDefinition", 167 "type": "MethodDefinition",
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ts/ |
| D | test-class-method-overload3-expected.txt | 25 "type": "MethodDefinition", 105 "type": "MethodDefinition", 170 "type": "MethodDefinition", 235 "type": "MethodDefinition",
|
| D | test-class-method-overload-expected.txt | 25 "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 …]
|
| D | test-class-method-overload6-expected.txt | 25 "type": "MethodDefinition", 105 "type": "MethodDefinition", 184 "type": "MethodDefinition", 263 "type": "MethodDefinition",
|
| D | test-class-method-overload2-expected.txt | 25 "type": "MethodDefinition", 105 "type": "MethodDefinition", 170 "type": "MethodDefinition", 297 "type": "MethodDefinition",
|
| D | test-class-definiton18-expected.txt | 25 "type": "MethodDefinition", 105 "type": "MethodDefinition", 170 "type": "MethodDefinition",
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | ETSparser.h | 149 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/ |
| D | ETSemitter.h | 84 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/ |
| D | methods-expected.txt | 26 "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 …]
|