Home
last modified time | relevance | path

Searched refs:ScriptFunction (Results 1 – 25 of 215) sorted by relevance

123456789

/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrowFunctionExpression.h32 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_;
DfunctionExpression.h32 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/
DscriptFunction.cpp30 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/
DfunctionDeclaration.h32 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/
DfunctionBuilder.h23 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;
DasyncFunctionBuilder.h33 void Prepare(const ir::ScriptFunction *node) override;
34 void CleanUp(const ir::ScriptFunction *node) const override;
DasyncGeneratorFunctionBuilder.h33 void Prepare(const ir::ScriptFunction *node) override;
34 void CleanUp(const ir::ScriptFunction *node) const override;
DgeneratorFunctionBuilder.h47 void Prepare(const ir::ScriptFunction *node) override;
48 void CleanUp(const ir::ScriptFunction *node) const override;
DasyncFunctionBuilder.cpp42 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/
Dhelpers.h28 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,
Dconcurrent.h28 class ScriptFunction; variable
50 …static void SetConcurrent(ir::ScriptFunction *func, const ir::AstNode *node, const lexer::LineInde…
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-function-overload1-expected.txt7 "type": "ScriptFunction",
51 "type": "ScriptFunction",
95 "type": "ScriptFunction",
Dtest-function-overload2-expected.txt7 "type": "ScriptFunction",
51 "type": "ScriptFunction",
95 "type": "ScriptFunction",
Dtest-class-definiton25-expected.txt46 "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 …]
Dtest-class-definiton23-expected.txt7 "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 …]
Dtest-class-definiton24-expected.txt65 "type": "ScriptFunction",
135 "type": "ScriptFunction",
206 "type": "ScriptFunction",
277 "type": "ScriptFunction",
348 "type": "ScriptFunction",
458 "type": "ScriptFunction",
Dtest-class-method-overload3-expected.txt46 "type": "ScriptFunction",
125 "type": "ScriptFunction",
189 "type": "ScriptFunction",
253 "type": "ScriptFunction",
Dtest-keyword-declare5-expected.txt7 "type": "ScriptFunction",
51 "type": "ScriptFunction",
Dtest-class-method-overload-expected.txt46 "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 …]
Dtest-class-method-overload6-expected.txt46 "type": "ScriptFunction",
125 "type": "ScriptFunction",
203 "type": "ScriptFunction",
281 "type": "ScriptFunction",
Dtest-keyword-declare6-expected.txt7 "type": "ScriptFunction",
52 "type": "ScriptFunction",
Dtest-export-function-expected.txt9 "type": "ScriptFunction",
94 "type": "ScriptFunction",
179 "type": "ScriptFunction",
Dtest-function-overload-expected.txt7 "type": "ScriptFunction",
119 "type": "ScriptFunction",
232 "type": "ScriptFunction",
388 "type": "ScriptFunction",
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-class-definition-expected.txt46 "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 …]
Dtest-arrow-function-expected.txt9 "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 …]

123456789