Searched refs:import_statement (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/ |
D | move.py | 34 for import_statement in module.FindAll(refactor.Import): 37 if move.UpdateImportAndReferences(module, import_statement): 69 def UpdateImportAndReferences(self, module, import_statement): argument 80 statement_path_parts = import_statement.path.split('.') 86 old_name_parts = import_statement.name.split('.') 89 import_statement.path = '.'.join(new_name_parts) 90 new_name = import_statement.name
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
D | __init__.py | 8 from py_utils.refactor.annotated_symbol.import_statement import *
|
/external/libchrome/mojo/public/tools/chrome_ipc/ |
D | generate_mojom.py | 375 for import_statement in self._typemaps.format_imports(): 376 yield import_statement
|
/external/fonttools/Tests/misc/ |
D | py23_test.py | 36 def diff_piped(self, data, import_statement): argument 37 script = self.make_temp("\n".join([import_statement, PIPE_SCRIPT]))
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 389 std::string import_statement; in PrintImports() local 393 import_statement = "import " + module_name; in PrintImports() 395 import_statement = "from " + module_name.substr(0, last_dot_pos) + in PrintImports() 398 printer_->Print("$statement$ as $alias$\n", "statement", import_statement, in PrintImports()
|