Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, logging_level=logging.WARNING) |
def | LoadAuxiliary (self, auxiliary_dir) |
def | FilterMembersWithUnidentifiedTypes (self, database) |
def | FilterInterfaces (self, database, and_annotations=[], or_annotations=[], exclude_displaced=[], exclude_suppressed=[]) |
def | Generate (self, database, super_database, generate_interface) |
def | IsEventTarget (self, database, interface) |
def | FixEventTargets (self, database) |
def | AddMissingArguments (self, database) |
def | CleanupOperationArguments (self, database) |
Utilities to generate Dart APIs and corresponding JavaScript.
Definition at line 28 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.__init__ | ( | self, | |
logging_level = logging.WARNING |
|||
) |
Definition at line 31 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.AddMissingArguments | ( | self, | |
database | |||
) |
Definition at line 257 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.CleanupOperationArguments | ( | self, | |
database | |||
) |
Definition at line 274 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.FilterInterfaces | ( | self, | |
database, | |||
and_annotations = [] , |
|||
or_annotations = [] , |
|||
exclude_displaced = [] , |
|||
exclude_suppressed = [] |
|||
) |
Filters a database to remove interfaces and members that are missing annotations. The FremontCut IDLs use annotations to specify implementation status in various platforms. For example, if a member is annotated with @WebKit, this means that the member is supported by WebKit. Args: database -- the database to filter all_annotations -- a list of annotation names a member has to have or it will be filtered. or_annotations -- if a member has one of these annotations, it won't be filtered even if it is missing some of the all_annotations. exclude_displaced -- if a member has this annotation and it is marked as displaced it will always be filtered. exclude_suppressed -- if a member has this annotation and it is marked as suppressed it will always be filtered.
Definition at line 115 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.FilterMembersWithUnidentifiedTypes | ( | self, | |
database | |||
) |
Removes unidentified types. Removes constants, attributes, operations and parents with unidentified types.
Definition at line 81 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.FixEventTargets | ( | self, | |
database | |||
) |
Definition at line 245 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.Generate | ( | self, | |
database, | |||
super_database, | |||
generate_interface | |||
) |
Definition at line 178 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.IsEventTarget | ( | self, | |
database, | |||
interface | |||
) |
Definition at line 234 of file dartgenerator.py.
def scripts.dartgenerator.DartGenerator.LoadAuxiliary | ( | self, | |
auxiliary_dir | |||
) |
Definition at line 73 of file dartgenerator.py.