Flutter Engine
The Flutter Engine
Classes | Functions
scripts.dartgenerator Namespace Reference

Classes

class  DartGenerator
 

Functions

def MergeNodes (node, other)
 

Function Documentation

◆ MergeNodes()

def 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
def MergeNodes(node, other)