Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, interface, options, logging_level=logging.WARNING, generate_static_extensions=False) |
def | ImplementsMergedMembers (self) |
def | GenerateCallback (self, info) |
def | AdditionalImplementedInterfaces (self) |
def | NativeSpec (self) |
def | ImplementationTemplate (self) |
def | StartInterface (self, members_emitter) |
def | FinishInterface (self) |
def | HasSupportCheck (self) |
def | GetSupportCheck (self) |
def | GenerateCustomFactory (self, constructor_info) |
def | MakeFactoryCall (self, factory, method, arguments, constructor_info) |
def | IsConstructorArgumentOptional (self, argument) |
def | EmitStaticFactoryOverload (self, constructor_info, name, arguments, emitter) |
def | SecondaryContext (self, interface) |
def | HasIndexedGetter (self) |
def | AddIndexer (self, element_type, nullable) |
def | EmitAttribute (self, attribute, html_name, read_only) |
def | AmendIndexer (self, element_type) |
def | RootClassName (self) |
def | OmitOperationOverrides (self) |
def | EmitOperation (self, info, html_name, dart_js_interop=False) |
def | CustomJSMembers (self) |
Public Member Functions inherited from scripts.htmldartgenerator.HtmlDartGenerator | |
def | __init__ (self, interface, options, dart_use_blink, logger) |
def | EmitSupportCheck (self) |
def | EmitEventGetter (self, events_class_name) |
def | AddMembers (self, interface, declare_only=False, dart_js_interop=False) |
def | AddSecondaryMembers (self, interface) |
def | OmitOperationOverrides (self) |
def | AddConstant (self, constant) |
def | AddAttribute (self, attribute, declare_only=False) |
def | AddOperation (self, info, declare_only=False, dart_js_interop=False) |
def | AdditionalImplementedInterfaces (self) |
def | Mixins (self) |
def | AddConstructors (self, constructors, factory_name, factory_constructor_name, constructor_emitter) |
def | EmitHelpers (self, base_class, members_emitter) |
def | DeclareAttribute (self, attribute, attr_name, read_only) |
def | DeclareOperation (self, operation, return_type_name, method_name) |
def | EmitListMixin (self, element_name, nullable) |
def | SecureOutputType (self, type_name, is_dart_type=False, can_narrow_type=False, nullable=False) |
def | SecureBaseName (self, type_name) |
def | is_DOM_type (self, type_name) |
Generates a dart2js class for the dart:html library from a DOM IDL interface.
Definition at line 1273 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.__init__ | ( | self, | |
interface, | |||
options, | |||
logging_level = logging.WARNING , |
|||
generate_static_extensions = False |
|||
) |
Reimplemented from scripts.htmldartgenerator.HtmlDartGenerator.
Definition at line 1278 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.AddIndexer | ( | self, | |
element_type, | |||
nullable | |||
) |
Adds all the methods required to complete implementation of List.
Definition at line 1440 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.AdditionalImplementedInterfaces | ( | self | ) |
Reimplemented from scripts.htmldartgenerator.HtmlDartGenerator.
Definition at line 1306 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.AmendIndexer | ( | self, | |
element_type | |||
) |
Definition at line 1836 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.CustomJSMembers | ( | self | ) |
Definition at line 2218 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.EmitAttribute | ( | self, | |
attribute, | |||
html_name, | |||
read_only | |||
) |
Definition at line 1522 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.EmitOperation | ( | self, | |
info, | |||
html_name, | |||
dart_js_interop = False |
|||
) |
Arguments: info: An OperationInfo object.
Definition at line 1845 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.EmitStaticFactoryOverload | ( | self, | |
constructor_info, | |||
name, | |||
arguments, | |||
emitter | |||
) |
Definition at line 1396 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.FinishInterface | ( | self | ) |
Definition at line 1344 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.GenerateCallback | ( | self, | |
info | |||
) |
Definition at line 1303 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.GenerateCustomFactory | ( | self, | |
constructor_info | |||
) |
Definition at line 1366 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.GetSupportCheck | ( | self | ) |
Return a tuple of the support check function signature and the support test itself. If no parameters are supplied, we assume the default.
Definition at line 1350 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.HasIndexedGetter | ( | self | ) |
Definition at line 1426 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.HasSupportCheck | ( | self | ) |
Definition at line 1347 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.ImplementationTemplate | ( | self | ) |
Definition at line 1322 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.ImplementsMergedMembers | ( | self | ) |
Definition at line 1300 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.IsConstructorArgumentOptional | ( | self, | |
argument | |||
) |
Definition at line 1393 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.MakeFactoryCall | ( | self, | |
factory, | |||
method, | |||
arguments, | |||
constructor_info | |||
) |
Definition at line 1370 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.NativeSpec | ( | self | ) |
Definition at line 1318 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.OmitOperationOverrides | ( | self | ) |
Reimplemented from scripts.htmldartgenerator.HtmlDartGenerator.
Definition at line 1842 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.RootClassName | ( | self | ) |
Definition at line 1839 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.SecondaryContext | ( | self, | |
interface | |||
) |
Definition at line 1420 of file systemhtml.py.
def scripts.systemhtml.Dart2JSBackend.StartInterface | ( | self, | |
members_emitter | |||
) |
Definition at line 1341 of file systemhtml.py.