Home
last modified time | relevance | path

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

1234567

/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()
50 ScriptFunction *func_;
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.cpp29 size_t ScriptFunction::FormalParamsLength() const in FormalParamsLength()
44 util::StringView ScriptFunction::GetName() const in GetName()
57 void ScriptFunction::Iterate(const NodeTraverser &cb) const in Iterate()
84 void ScriptFunction::Dump(ir::AstDumper *dumper) const in Dump()
98 void ScriptFunction::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
100 checker::Type *ScriptFunction::Check([[maybe_unused]] checker::Checker *checker) const in Check()
105 void ScriptFunction::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
/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/util/
Dhelpers.h28 class ScriptFunction; variable
65 static const ir::ScriptFunction *GetContainingConstructor(const ir::AstNode *node);
66 static const ir::ScriptFunction *GetContainingConstructor(const ir::ClassProperty *node);
67 static const ir::ScriptFunction *GetContainingFunction(const ir::AstNode *node);
68 static const ir::ClassDefinition *GetClassDefiniton(const ir::ScriptFunction *node);
75 static util::StringView FunctionName(const ir::ScriptFunction *func);
Dconcurrent.h28 class ScriptFunction; variable
50 static void SetConcurrent(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex);
/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/test/parser/js/
Dtest-class-definition-expected.txt48 "type": "ScriptFunction",
174 "type": "ScriptFunction",
299 "type": "ScriptFunction",
423 "type": "ScriptFunction",
503 "type": "ScriptFunction",
582 "type": "ScriptFunction",
661 "type": "ScriptFunction",
740 "type": "ScriptFunction",
818 "type": "ScriptFunction",
912 "type": "ScriptFunction",
[all …]
Dtest-arrow-function-expected.txt9 "type": "ScriptFunction",
132 "type": "ScriptFunction",
252 "type": "ScriptFunction",
445 "type": "ScriptFunction",
563 "type": "ScriptFunction",
713 "type": "ScriptFunction",
893 "type": "ScriptFunction",
1028 "type": "ScriptFunction",
1134 "type": "ScriptFunction",
1218 "type": "ScriptFunction",
[all …]
Dtest-class-expression-expected.txt113 "type": "ScriptFunction",
193 "type": "ScriptFunction",
301 "type": "ScriptFunction",
483 "type": "ScriptFunction",
563 "type": "ScriptFunction",
642 "type": "ScriptFunction",
Dtest-function-decl-expected.txt27 "type": "ScriptFunction",
173 "type": "ScriptFunction",
288 "type": "ScriptFunction",
428 "type": "ScriptFunction",
579 "type": "ScriptFunction",
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-function-overload1-expected.txt7 "type": "ScriptFunction",
52 "type": "ScriptFunction",
97 "type": "ScriptFunction",
Dtest-function-overload2-expected.txt7 "type": "ScriptFunction",
52 "type": "ScriptFunction",
97 "type": "ScriptFunction",
Dtest-class-method-overload-expected.txt48 "type": "ScriptFunction",
143 "type": "ScriptFunction",
208 "type": "ScriptFunction",
273 "type": "ScriptFunction",
383 "type": "ScriptFunction",
557 "type": "ScriptFunction",
621 "type": "ScriptFunction",
715 "type": "ScriptFunction",
780 "type": "ScriptFunction",
845 "type": "ScriptFunction",
[all …]
Dtest-class-method-overload6-expected.txt48 "type": "ScriptFunction",
128 "type": "ScriptFunction",
207 "type": "ScriptFunction",
286 "type": "ScriptFunction",
Dtest-class-method-overload3-expected.txt48 "type": "ScriptFunction",
128 "type": "ScriptFunction",
193 "type": "ScriptFunction",
258 "type": "ScriptFunction",
Dtest-keyword-declare5-expected.txt7 "type": "ScriptFunction",
52 "type": "ScriptFunction",
Dtest-class-method-overload2-expected.txt48 "type": "ScriptFunction",
128 "type": "ScriptFunction",
193 "type": "ScriptFunction",
319 "type": "ScriptFunction",
Dtest-keyword-declare6-expected.txt7 "type": "ScriptFunction",
53 "type": "ScriptFunction",
Dtest-class-definiton18-expected.txt48 "type": "ScriptFunction",
128 "type": "ScriptFunction",
193 "type": "ScriptFunction",
Dtest-function-overload-expected.txt7 "type": "ScriptFunction",
122 "type": "ScriptFunction",
238 "type": "ScriptFunction",
397 "type": "ScriptFunction",

1234567