Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
scripts.idlnode.IDLAttribute Class Reference
Inheritance diagram for scripts.idlnode.IDLAttribute:
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

 is_read_only
 
- 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 'attribute type name' declarations.

Definition at line 1093 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from scripts.idlnode.IDLMember.

Definition at line 1096 of file idlnode.py.

1096 def __init__(self, ast, doc_js_interface_name):
1097 IDLMember.__init__(self, ast, doc_js_interface_name)
1098 self.is_read_only = self._has(ast, 'ReadOnly')
1099 # There are various ways to define exceptions for attributes:
1100

Member Data Documentation

◆ is_read_only

scripts.idlnode.IDLAttribute.is_read_only

Definition at line 1098 of file idlnode.py.


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