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

Public Member Functions

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

IDLDictNode specialization for a list of FremontCut annotations.

Definition at line 1178 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from scripts.idlnode.IDLDictNode.

Definition at line 1181 of file idlnode.py.

1181 def __init__(self, ast=None):
1182 IDLDictNode.__init__(self, ast)
1183 self.id = None
1184 if not ast:
1185 return
1186 for annotation in self._find_all(ast, 'Annotation'):
1187 name = self._find_first(annotation, 'Id')
1188 value = IDLAnnotation(annotation)
1189 self[name] = value
1190
1191

Member Data Documentation

◆ id

scripts.idlnode.IDLAnnotations.id

Definition at line 1183 of file idlnode.py.


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