Searched refs:ast_ (Results 1 – 10 of 10) sorted by relevance
31 ast_(ast_nodes_.Create<ast::Module>(id_, Source{})) {} in ProgramBuilder()38 ast_(rhs.ast_), in ProgramBuilder()55 ast_ = rhs.ast_; in operator =()67 builder.ast_ = builder.create<ast::Module>( in Wrap()
41 ast_(std::move(program.ast_)), in Program()66 ast_ = &builder.AST(); // ast::Module is actually a heap allocation. in Program()91 ast_ = std::move(program.ast_); in operator =()
90 return *ast_; in AST()183 ast::Module* ast_ = nullptr; variable
243 return *ast_; in AST()249 return *ast_; in AST()2559 ast::Module* ast_; variable
22 this.ast_ = ast;31 for (const inst of this.ast_.instructions()) {42 u[3] = this.ast_.getIdBounds(); // ID bounds46 for (const inst of this.ast_.instructions()) {
93 Parser::Parser(const std::shared_ptr<ParseFunctionAst> &ast) : ast_(ast) { in Parser()176 py::object node = ast_->GetAstNode(); in ParseFuncGraph()184 CheckFuncReturn(fn_block->func_graph(), ast_); in ParseFuncGraph()201 MS_EXCEPTION_IF_NULL(ast_); in GenerateArgsNodeForFunction()202 py::list args = ast_->GetArgs(fn_node); in GenerateArgsNodeForFunction()205 if (ast_->target_type() == PARSE_TARGET_OBJECT_INSTANCE) { in GenerateArgsNodeForFunction()224 py::list defaults = ast_->GetArgsDefaultValues(fn_node); in GenerateArgsDefaultValueForFunction()225 py::list args = ast_->GetArgs(fn_node); in GenerateArgsDefaultValueForFunction()230 if (ast_->target_type() == PARSE_TARGET_OBJECT_INSTANCE) { in GenerateArgsDefaultValueForFunction()251 if (ast_->target_type() == PARSE_TARGET_OBJECT_INSTANCE) { in GetScopeForParseFunction()[all …]
98 std::shared_ptr<ParseFunctionAst> ast() const { return ast_; } in ast()269 const std::shared_ptr<ParseFunctionAst> &ast_; variable
16 semantic checking is performed. See ast_*.cpp for the conversion, and