Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, output_directory, code_generator=None, interfaces_info=None, interfaces_info_filename='', only_if_changed=False) |
def | compile_and_write (self, idl_filename, output_filenames) |
def | generate_global_and_write (self, output_filenames) |
def | compile_file (self, idl_filename) |
Public Attributes | |
code_generator | |
interfaces_info | |
only_if_changed | |
output_directory | |
reader | |
Abstract Base Class for IDL compilers. In concrete classes: * self.code_generator must be set, implementing generate_code() (returning a list of output code), and * compile_file() must be implemented (handling output filenames).
Definition at line 77 of file dart_compiler.py.
def dart_compiler.IdlCompiler.__init__ | ( | self, | |
output_directory, | |||
code_generator = None , |
|||
interfaces_info = None , |
|||
interfaces_info_filename = '' , |
|||
only_if_changed = False |
|||
) |
Args: interfaces_info: interfaces_info dict (avoids auxiliary file in run-bindings-tests) interfaces_info_file: filename of pickled interfaces_info
Reimplemented in compiler.IdlCompilerDart.
Definition at line 87 of file dart_compiler.py.
def dart_compiler.IdlCompiler.compile_and_write | ( | self, | |
idl_filename, | |||
output_filenames | |||
) |
Definition at line 110 of file dart_compiler.py.
def dart_compiler.IdlCompiler.compile_file | ( | self, | |
idl_filename | |||
) |
Reimplemented in compiler.IdlCompilerDart.
Definition at line 119 of file dart_compiler.py.
def dart_compiler.IdlCompiler.generate_global_and_write | ( | self, | |
output_filenames | |||
) |
Definition at line 115 of file dart_compiler.py.
dart_compiler.IdlCompiler.code_generator |
Definition at line 100 of file dart_compiler.py.
dart_compiler.IdlCompiler.interfaces_info |
Definition at line 104 of file dart_compiler.py.
dart_compiler.IdlCompiler.only_if_changed |
Definition at line 106 of file dart_compiler.py.
dart_compiler.IdlCompiler.output_directory |
Definition at line 107 of file dart_compiler.py.
dart_compiler.IdlCompiler.reader |
Definition at line 108 of file dart_compiler.py.