Home
last modified time | relevance | path

Searched refs:RootNode (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp173 const auto *decl = pg->RootNode()->AsScriptFunction(); in CompileFunction()
183 pg->GetFunctionObject(pg->RootNode()); in CompileFunction()
184 …pg->StoreAccToLexEnv(pg->RootNode(), funcParamScope->Find(funcParamScope->NameVar()->Name()), true… in CompileFunction()
216 CompileFunctionParameterDeclaration(pg, pg->RootNode()->AsScriptFunction()); in CompileFunctionOrProgram()
227 CompileFunctionParameterDeclaration(pg, pg->RootNode()->AsScriptFunction()); in CompileFunctionOrProgram()
231 CompileSourceBlock(pg, pg->RootNode()->AsBlockStatement()); in CompileFunctionOrProgram()
241 pg->CopyFunctionArguments(pg->RootNode()); in Compile()
242 pg->InitializeLexEnv(pg->RootNode()); in Compile()
Dpandagen.h130 const ir::AstNode *RootNode() const in RootNode() function
Dpandagen.cpp1277 if (RootNode()->AsScriptFunction()->IsArrow()) { in SuperCall()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp99 if (pg_->RootNode()->IsProgram()) { in SourceCode()
102 return static_cast<const ir::ScriptFunction *>(pg_->RootNode())->SourceCode(pg_->Binder()); in SourceCode()
239 if (pg_->RootNode()->IsProgram()) { in GenSourceFileDebugInfo()
246 if (pg_->RootNode()->IsProgram()) { in GenFunctionSource()
250 if (!(static_cast<const ir::ScriptFunction *>(pg_->RootNode()))->ShowSource()) { in GenFunctionSource()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.cpp46 const auto *rootNode = pg_->RootNode(); in ImplicitReturn()