Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
rewrite_includes.py File Reference

Go to the source code of this file.

Namespaces

namespace  tools
 
namespace  tools.rewrite_includes
 

Functions

 tools.rewrite_includes.fix_path (p)
 
 tools.rewrite_includes.to_rewrite ()
 

Variables

 tools.rewrite_includes.parser = argparse.ArgumentParser()
 
 tools.rewrite_includes.action
 
 tools.rewrite_includes.help
 
 tools.rewrite_includes.nargs
 
 tools.rewrite_includes.args = parser.parse_args()
 
list tools.rewrite_includes.roots
 
list tools.rewrite_includes.ignorelist
 
dict tools.rewrite_includes.headers = {}
 
tuple tools.rewrite_includes.message
 
list tools.rewrite_includes.need_rewriting = []
 
 tools.rewrite_includes.lines = open(file_path).readlines()
 
 tools.rewrite_includes.output = StringIO() if args.dry_run else open(file_path, 'w')
 
list tools.rewrite_includes.includes = []
 
 tools.rewrite_includes.parts = line.replace('<', '"').replace('>', '"').split('"')
 
 tools.rewrite_includes.header = fix_path(os.path.relpath(headers[os.path.basename(parts[1])], '.'))
 
int tools.rewrite_includes.rc = 1