Searched refs:RootNode (Results 1 – 5 of 5) sorted by relevance
173 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()
130 const ir::AstNode *RootNode() const in RootNode() function
1277 if (RootNode()->AsScriptFunction()->IsArrow()) { in SuperCall()
99 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()
46 const auto *rootNode = pg_->RootNode(); in ImplicitReturn()