Home
last modified time | relevance | path

Searched defs:NodeManager (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/parsers/
Dconstant_parser.py31 def process(self, stree: SymbolTree, node: ast.Name, node_manager: NodeManager):
56 def process(self, stree: SymbolTree, node: ast.Num, node_manager: NodeManager):
81 def process(self, stree: SymbolTree, node: ast.Str, node_manager: NodeManager):
Dfunction_def_parser.py31 def remove_dead_code(self, node_manager: NodeManager):
49 def process(self, stree: SymbolTree, ast_node: ast.FunctionDef, node_manager: NodeManager):
Dcontainer_parser.py31 def process(self, stree: SymbolTree, node: list, node_manager: NodeManager):
64 def process(self, stree: SymbolTree, node: tuple, node_manager: NodeManager):
Dwhile_parser.py31 def process(self, stree: SymbolTree, node: ast.While, node_manager: NodeManager):
Dreturn_parser.py31 def process(self, stree: SymbolTree, node: ast.Return, node_manager: NodeManager):
Dif_parser.py31 def process(self, stree: SymbolTree, node: ast.If, node_manager: NodeManager):
Darguments_parser.py31 def process(self, stree: SymbolTree, ast_node: ast.arguments, node_manager: NodeManager):
Dattribute_parser.py30 def process(self, stree: SymbolTree, node: ast.Attribute, node_manager: NodeManager):
Dfor_parser.py31 def process(self, stree: SymbolTree, node: ast.For, node_manager: NodeManager):
Dexpr_parser.py36 def process(self, stree: SymbolTree, node: ast.Expr, node_manager: NodeManager):
Dassign_parser.py160 def _get_path_of_node_manager(node_manager: NodeManager):
168 def _get_module_of_node_manager(node_manager: NodeManager):
192 def _get_local_var_provider(node_manager: NodeManager, var: str) -> Node:
806 def process(self, stree: SymbolTree, node: ast.Assign, node_manager: NodeManager):
Dmodule_parser.py104 def process(self, stree: SymbolTree, node: ast.Module, node_manager: NodeManager):
Dclass_def_parser.py229 def process(self, stree: SymbolTree, node: ast.ClassDef, node_manager: NodeManager):
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/symbol_tree/
Dsymbol_tree.py346 def insert_to_ast_while_insert_input(new_node: Node, node_manager: NodeManager):
360 node_manager: NodeManager, stree):
390 node_manager: NodeManager, stree: 'SymbolTree'):
715 …rt_node(self, new_node: Node, base_node: Node, before_node: bool, node_manager: NodeManager = None,
804 …def append_node(self, node: Node, node_manager: NodeManager = None, append_to_ast: bool = True) ->…
822 def append_origin_field(self, node: Node, node_manager: NodeManager = None) -> Node:
840 node_manager: NodeManager = None):
877 node_manager: NodeManager = None) -> Optional[Node]:
898 …def append_python_node(self, ast_scope: ast.AST, ast_node: ast.AST, node_manager: NodeManager = No…
922 node_manager: NodeManager = None) -> Node:
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/ps/core/
Dnode_manager.h45 NodeManager() in NodeManager() function
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/node/
Dnode_manager.py24 class NodeManager: class