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

Public Member Functions

def __init__ (self, ast, doc_js_interface_name)
 
def __init__ (self, ast, doc_js_interface_name, member_id=None)
 
- 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

 value
 
- Public Attributes inherited from scripts.idlnode.IDLMember
 type
 
 doc_js_interface_name
 
 is_fc_suppressed
 
 is_static
 
- Public Attributes inherited from scripts.idlnode.IDLNode
 id
 
 ext_attrs
 
 annotations
 
 members
 

Detailed Description

IDLNode specialization for 'const type name = value' declarations.

Definition at line 1157 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from scripts.idlnode.IDLMember.

Definition at line 1160 of file idlnode.py.

1160 def __init__(self, ast, doc_js_interface_name):
1161 IDLMember.__init__(self, ast, doc_js_interface_name)
1162 default_value = self._find_first(ast, 'Default')
1163 self.value = default_value.value if default_value else None
1164
1165

Member Data Documentation

◆ value

scripts.idlnode.IDLDictionaryMember.value

Definition at line 1163 of file idlnode.py.


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