Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
scripts.systemhtml.DartLibraries Class Reference

Public Member Functions

def __init__ (self, libraries, template_loader, library_type, output_dir, dart_js_interop)
 
def AddFile (self, basename, library_name, path)
 
def AddTypeEntry (self, library_name, idl_name, dart_name)
 
def Emit (self, emitter, auxiliary_dir)
 

Detailed Description

Definition at line 2346 of file systemhtml.py.

Constructor & Destructor Documentation

◆ __init__()

def scripts.systemhtml.DartLibraries.__init__ (   self,
  libraries,
  template_loader,
  library_type,
  output_dir,
  dart_js_interop 
)

Definition at line 2348 of file systemhtml.py.

2349 dart_js_interop):
2350 self._libraries = {}
2351 for library_name in libraries:
2352 self._libraries[library_name] = DartLibrary(
2353 library_name, template_loader, library_type, output_dir,
2354 dart_js_interop)
2355

Member Function Documentation

◆ AddFile()

def scripts.systemhtml.DartLibraries.AddFile (   self,
  basename,
  library_name,
  path 
)

Definition at line 2356 of file systemhtml.py.

2356 def AddFile(self, basename, library_name, path):
2357 self._libraries[library_name].AddFile(path)
2358

◆ AddTypeEntry()

def scripts.systemhtml.DartLibraries.AddTypeEntry (   self,
  library_name,
  idl_name,
  dart_name 
)

Definition at line 2359 of file systemhtml.py.

2359 def AddTypeEntry(self, library_name, idl_name, dart_name):
2360 self._libraries[library_name].AddTypeEntry(idl_name, dart_name)
2361

◆ Emit()

def scripts.systemhtml.DartLibraries.Emit (   self,
  emitter,
  auxiliary_dir 
)

Definition at line 2362 of file systemhtml.py.

2362 def Emit(self, emitter, auxiliary_dir):
2363 for lib in self._libraries.values():
2364 lib.Emit(emitter, auxiliary_dir)

The documentation for this class was generated from the following file: