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

Public Member Functions

def __init__ (self, ast=None, js_name=None)
 
- Public Member Functions inherited from scripts.idlnode.IDLDictNode
def __init__ (self, ast)
 
def __len__ (self)
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, value)
 
def __delitem__ (self, key)
 
def __contains__ (self, key)
 
def __iter__ (self)
 
def get (self, key, default=None)
 
def setdefault (self, key, value=None)
 
def items (self)
 
def keys (self)
 
def values (self)
 
def clear (self)
 
def to_dict (self)
 
- 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

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

Detailed Description

IDLDictionaryMembers specialization for a list of FremontCut dictionary values.

Definition at line 812 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

def scripts.idlnode.IDLDictionaryMembers.__init__ (   self,
  ast = None,
  js_name = None 
)
Initializes an IDLNode from a PegParser AST output.

Reimplemented from scripts.idlnode.IDLDictNode.

Definition at line 815 of file idlnode.py.

815 def __init__(self, ast=None, js_name=None):
816 IDLDictNode.__init__(self, ast)
817 self.id = None
818 if not ast:
819 return
820 for member in self._find_all(ast, 'Member'):
821 name = self._find_first(member, 'Id')
822 value = IDLDictionaryMember(member, js_name)
823 self[name] = value
824
825

Member Data Documentation

◆ id

scripts.idlnode.IDLDictionaryMembers.id

Definition at line 817 of file idlnode.py.


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