Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, root) |
def | Check (self) |
def | CheckNotInRuntime (self, files) |
def | BuildIncludesGraph (self) |
def | PropagateLayers (self) |
def | AddAllSourcesToWorklist (self, dir) |
def | ExtractIncludes (self, file) |
Public Attributes | |
root | |
worklist | |
included_into | |
loaded | |
file_layers | |
Definition at line 32 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.__init__ | ( | self, | |
root | |||
) |
Definition at line 34 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.AddAllSourcesToWorklist | ( | self, | |
dir | |||
) |
Add all *.cc and *.h files from dir recursively into worklist.
Definition at line 97 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.BuildIncludesGraph | ( | self | ) |
Definition at line 63 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.Check | ( | self | ) |
Definition at line 44 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.CheckNotInRuntime | ( | self, | |
files | |||
) |
Check that given files do not depend on runtime layer.
Definition at line 51 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.ExtractIncludes | ( | self, | |
file | |||
) |
Extract the list of includes from the given file.
Definition at line 106 of file compiler_layering_check.py.
def compiler_layering_check.LayeringChecker.PropagateLayers | ( | self | ) |
Propagate layering information through include graph. If A is in layer L and A is included into B then B is in layer L.
Definition at line 75 of file compiler_layering_check.py.
compiler_layering_check.LayeringChecker.file_layers |
Definition at line 42 of file compiler_layering_check.py.
compiler_layering_check.LayeringChecker.included_into |
Definition at line 38 of file compiler_layering_check.py.
compiler_layering_check.LayeringChecker.loaded |
Definition at line 40 of file compiler_layering_check.py.
compiler_layering_check.LayeringChecker.root |
Definition at line 35 of file compiler_layering_check.py.
compiler_layering_check.LayeringChecker.worklist |
Definition at line 36 of file compiler_layering_check.py.