Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
scripts.idlnode.IDLDictionary Class Reference
Inheritance diagram for scripts.idlnode.IDLDictionary:
scripts.idlnode.IDLNode

Public Member Functions

def __init__ (self, ast, typedefDictionary=False)
 
- Public Member Functions inherited from scripts.idlnode.IDLNode
def __init__ (self, ast, id=None)
 
def __repr__ (self)
 
def __eq__ (self, other)
 
def __hash__ (self)
 
def reset_id (self, newId)
 
def all (self, type_filter=None)
 
def to_dict (self)
 
def to_hash (self)
 

Public Attributes

 javascript_binding_name
 
- Public Attributes inherited from scripts.idlnode.IDLNode
 id
 
 ext_attrs
 
 annotations
 
 members
 

Detailed Description

IDLDictionary node contains members,
as well as parent references.

Definition at line 796 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

def scripts.idlnode.IDLDictionary.__init__ (   self,
  ast,
  id = False 
)
Initializes an IDLNode from a PegParser AST output.

Reimplemented from scripts.idlnode.IDLNode.

Definition at line 800 of file idlnode.py.

800 def __init__(self, ast, typedefDictionary=False):
801 IDLNode.__init__(self, ast)
802
803 self.javascript_binding_name = self.id
804 if (typedefDictionary):
805 # Dictionary is a typedef to a union.
806 self._convert_ext_attrs(None)
807 else:
808 self._convert_ext_attrs(ast)
809 self._convert_constants(ast, self.id)
810
811

Member Data Documentation

◆ javascript_binding_name

scripts.idlnode.IDLDictionary.javascript_binding_name

Definition at line 803 of file idlnode.py.


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