| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | arrowFunctionExpression.h | 32 class ScriptFunction; variable 36 explicit ArrowFunctionExpression(ScriptFunction *func) in ArrowFunctionExpression() 41 const ScriptFunction *Function() const in Function() 46 ScriptFunction *Function() in Function() 58 ScriptFunction *func_;
|
| D | functionExpression.h | 32 class ScriptFunction; variable 36 …explicit FunctionExpression(ScriptFunction *func) : Expression(AstNodeType::FUNCTION_EXPRESSION), … in FunctionExpression() 38 const ScriptFunction *Function() const in Function() 43 ScriptFunction *Function() in Function() 55 ScriptFunction *func_;
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | scriptFunction.cpp | 30 size_t ScriptFunction::FormalParamsLength() const in FormalParamsLength() 45 util::StringView ScriptFunction::GetName() const in GetName() 58 void ScriptFunction::Iterate(const NodeTraverser &cb) const in Iterate() 85 void ScriptFunction::Dump(ir::AstDumper *dumper) const in Dump() 100 void ScriptFunction::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile() 102 checker::Type *ScriptFunction::Check([[maybe_unused]] checker::Checker *checker) const in Check() 107 void ScriptFunction::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf() 138 util::StringView ScriptFunction::SourceCode(binder::Binder *binder) const in SourceCode()
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | functionDeclaration.h | 32 class ScriptFunction; variable 36 …explicit FunctionDeclaration(ScriptFunction *func) : Statement(AstNodeType::FUNCTION_DECLARATION),… in FunctionDeclaration() 38 const ScriptFunction *Function() const in Function() 50 ScriptFunction *func_;
|
| /arkcompiler/ets_frontend/es2panda/compiler/function/ |
| D | functionBuilder.h | 23 class ScriptFunction; variable 52 virtual void Prepare([[maybe_unused]] const ir::ScriptFunction *node) {}; in Prepare() 53 virtual void CleanUp([[maybe_unused]] const ir::ScriptFunction *node) const {}; in CleanUp() 78 VReg FunctionReg(const ir::ScriptFunction *node) const;
|
| D | asyncFunctionBuilder.h | 33 void Prepare(const ir::ScriptFunction *node) override; 34 void CleanUp(const ir::ScriptFunction *node) const override;
|
| D | asyncGeneratorFunctionBuilder.h | 33 void Prepare(const ir::ScriptFunction *node) override; 34 void CleanUp(const ir::ScriptFunction *node) const override;
|
| D | generatorFunctionBuilder.h | 47 void Prepare(const ir::ScriptFunction *node) override; 48 void CleanUp(const ir::ScriptFunction *node) const override;
|
| D | asyncFunctionBuilder.cpp | 42 void AsyncFunctionBuilder::Prepare(const ir::ScriptFunction *node) in Prepare() 49 void AsyncFunctionBuilder::CleanUp(const ir::ScriptFunction *node) const in CleanUp()
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | helpers.h | 28 class ScriptFunction; variable 81 static const ir::ScriptFunction *GetContainingConstructor(const ir::AstNode *node); 82 static const ir::ScriptFunction *GetContainingConstructor(const ir::ClassProperty *node); 83 static const ir::ScriptFunction *GetContainingFunction(const ir::AstNode *node); 84 static const ir::ClassDefinition *GetClassDefiniton(const ir::ScriptFunction *node); 91 static util::StringView FunctionName(ArenaAllocator *allocator, const ir::ScriptFunction *func); 102 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex); 122 static bool SetFuncFlagsForDirectives(const ir::StringLiteral *strLit, ir::ScriptFunction *func,
|
| D | concurrent.h | 28 class ScriptFunction; variable 50 …static void SetConcurrent(ir::ScriptFunction *func, const ir::AstNode *node, const lexer::LineInde…
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-function-overload1-expected.txt | 7 "type": "ScriptFunction", 51 "type": "ScriptFunction", 95 "type": "ScriptFunction",
|
| D | test-function-overload2-expected.txt | 7 "type": "ScriptFunction", 51 "type": "ScriptFunction", 95 "type": "ScriptFunction",
|
| D | test-class-definiton25-expected.txt | 46 "type": "ScriptFunction", 116 "type": "ScriptFunction", 187 "type": "ScriptFunction", 297 "type": "ScriptFunction", 367 "type": "ScriptFunction", 439 "type": "ScriptFunction", 569 "type": "ScriptFunction", 639 "type": "ScriptFunction", 710 "type": "ScriptFunction", 820 "type": "ScriptFunction", [all …]
|
| D | test-class-definiton23-expected.txt | 7 "type": "ScriptFunction", 78 "type": "ScriptFunction", 188 "type": "ScriptFunction", 258 "type": "ScriptFunction", 330 "type": "ScriptFunction", 441 "type": "ScriptFunction", 530 "type": "ScriptFunction", 601 "type": "ScriptFunction", 711 "type": "ScriptFunction", 781 "type": "ScriptFunction", [all …]
|
| D | test-class-definiton24-expected.txt | 65 "type": "ScriptFunction", 135 "type": "ScriptFunction", 206 "type": "ScriptFunction", 277 "type": "ScriptFunction", 348 "type": "ScriptFunction", 458 "type": "ScriptFunction",
|
| D | test-class-method-overload3-expected.txt | 46 "type": "ScriptFunction", 125 "type": "ScriptFunction", 189 "type": "ScriptFunction", 253 "type": "ScriptFunction",
|
| D | test-keyword-declare5-expected.txt | 7 "type": "ScriptFunction", 51 "type": "ScriptFunction",
|
| D | test-class-method-overload-expected.txt | 46 "type": "ScriptFunction", 139 "type": "ScriptFunction", 203 "type": "ScriptFunction", 267 "type": "ScriptFunction", 375 "type": "ScriptFunction", 546 "type": "ScriptFunction", 610 "type": "ScriptFunction", 703 "type": "ScriptFunction", 767 "type": "ScriptFunction", 831 "type": "ScriptFunction", [all …]
|
| D | test-class-method-overload6-expected.txt | 46 "type": "ScriptFunction", 125 "type": "ScriptFunction", 203 "type": "ScriptFunction", 281 "type": "ScriptFunction",
|
| D | test-keyword-declare6-expected.txt | 7 "type": "ScriptFunction", 52 "type": "ScriptFunction",
|
| D | test-export-function-expected.txt | 9 "type": "ScriptFunction", 94 "type": "ScriptFunction", 179 "type": "ScriptFunction",
|
| D | test-function-overload-expected.txt | 7 "type": "ScriptFunction", 119 "type": "ScriptFunction", 232 "type": "ScriptFunction", 388 "type": "ScriptFunction",
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-class-definition-expected.txt | 46 "type": "ScriptFunction", 168 "type": "ScriptFunction", 289 "type": "ScriptFunction", 411 "type": "ScriptFunction", 490 "type": "ScriptFunction", 568 "type": "ScriptFunction", 646 "type": "ScriptFunction", 724 "type": "ScriptFunction", 802 "type": "ScriptFunction", 895 "type": "ScriptFunction", [all …]
|
| D | test-arrow-function-expected.txt | 9 "type": "ScriptFunction", 127 "type": "ScriptFunction", 243 "type": "ScriptFunction", 430 "type": "ScriptFunction", 546 "type": "ScriptFunction", 690 "type": "ScriptFunction", 862 "type": "ScriptFunction", 992 "type": "ScriptFunction", 1095 "type": "ScriptFunction", 1177 "type": "ScriptFunction", [all …]
|