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

Classes

class  DartGenerator
 

Functions

 MergeNodes (node, other)
 

Variables

 _logger = logging.getLogger('dartgenerator')
 

Detailed Description

This module generates Dart APIs from the IDL database.

Function Documentation

◆ MergeNodes()

scripts.dartgenerator.MergeNodes (   node,
  other 
)

Definition at line 19 of file dartgenerator.py.

19def MergeNodes(node, other):
20 node.operations.extend(other.operations)
21 for attribute in other.attributes:
22 if not node.has_attribute(attribute):
23 node.attributes.append(attribute)
24
25 node.constants.extend(other.constants)
26
27

Variable Documentation

◆ _logger

scripts.dartgenerator._logger = logging.getLogger('dartgenerator')
protected

Definition at line 16 of file dartgenerator.py.