Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions | Variables
compiler_layering_check Namespace Reference

Classes

class  LayeringChecker
 

Functions

 DoCheck (sdk_root)
 

Variables

 INCLUDE_DIRECTIVE_RE = re.compile(r'^#include "(.*)"')
 
list RUNTIME_LAYER_HEADERS
 
list SHOULD_NOT_DEPEND_ON_RUNTIME
 
 errors = DoCheck('.')
 

Function Documentation

◆ DoCheck()

compiler_layering_check.DoCheck (   sdk_root)
Run layering check at the given root folder.

Definition at line 122 of file compiler_layering_check.py.

122def DoCheck(sdk_root):
123 """Run layering check at the given root folder."""
124 return LayeringChecker(sdk_root).Check()
125
126

Variable Documentation

◆ errors

compiler_layering_check.errors = DoCheck('.')

Definition at line 128 of file compiler_layering_check.py.

◆ INCLUDE_DIRECTIVE_RE

compiler_layering_check.INCLUDE_DIRECTIVE_RE = re.compile(r'^#include "(.*)"')

Definition at line 17 of file compiler_layering_check.py.

◆ RUNTIME_LAYER_HEADERS

list compiler_layering_check.RUNTIME_LAYER_HEADERS
Initial value:
1= [
2 'runtime/vm/isolate.h',
3 'runtime/vm/object.h',
4 'runtime/vm/raw_object.h',
5 'runtime/vm/thread.h',
6]

Definition at line 19 of file compiler_layering_check.py.

◆ SHOULD_NOT_DEPEND_ON_RUNTIME

list compiler_layering_check.SHOULD_NOT_DEPEND_ON_RUNTIME
Initial value:
1= [
2 'runtime/vm/allocation.h',
3 'runtime/vm/growable_array.h',
4]

Definition at line 26 of file compiler_layering_check.py.