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

Public Member Functions

def __init__ (self, ast)
 
- 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

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

Detailed Description

IDLNode for 'typedef [type] [id]' declarations.

Definition at line 787 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from scripts.idlnode.IDLNode.

Definition at line 790 of file idlnode.py.

790 def __init__(self, ast):
791 IDLNode.__init__(self, ast)
792 self._convert_annotations(ast)
793 self.type = self._convert_first(ast, 'Type', IDLType)
794
795

Member Data Documentation

◆ type

scripts.idlnode.IDLTypeDef.type

Definition at line 793 of file idlnode.py.


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