Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
scripts.idlnode.IDLExtAttrFunctionValue Class Reference
Inheritance diagram for scripts.idlnode.IDLExtAttrFunctionValue:
scripts.idlnode.IDLNode

Public Member Functions

 __init__ (self, func_value_ast, arg_list_ast, is_blink=False)
 
- Public Member Functions inherited from scripts.idlnode.IDLNode
 __repr__ (self)
 
 __eq__ (self, other)
 
 __hash__ (self)
 
 reset_id (self, newId)
 
 all (self, type_filter=None)
 
 to_dict (self)
 
 to_hash (self)
 

Public Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from scripts.idlnode.IDLNode
 _extra_repr (self)
 
 _all_subnodes (self)
 
 _to_hashable (self, obj)
 
 _find_all (self, ast, label, max_results=sys.maxsize)
 
 _find_first (self, ast, label)
 
 _has (self, ast, label)
 
 _convert_label_to_field (self, label)
 
 _convert_all (self, ast, label, idlnode_ctor)
 
 _convert_first (self, ast, label, idlnode_ctor)
 
 _convert_ext_attrs (self, ast)
 
 _convert_annotations (self, ast)
 
 _convert_constants (self, ast, js_name)
 

Detailed Description

IDLExtAttrFunctionValue.

Definition at line 638 of file idlnode.py.

Constructor & Destructor Documentation

◆ __init__()

scripts.idlnode.IDLExtAttrFunctionValue.__init__ (   self,
  ast,
  id,
  is_blink = False 
)
Initializes an IDLNode from a PegParser AST output.

Reimplemented from scripts.idlnode.IDLNode.

Definition at line 641 of file idlnode.py.

641 def __init__(self, func_value_ast, arg_list_ast, is_blink=False):
642 IDLNode.__init__(self, func_value_ast)
643 if is_blink:
644 # Blink path
645 self.id = func_value_ast # func_value_ast is the function name for Blink.
646 self.arguments = []
647 for argument in arg_list_ast:
648 self.arguments.append(IDLArgument(argument))
649 else:
650 self.arguments = self._convert_all(arg_list_ast, 'Argument',
651 IDLArgument)
652
653
static void append(char **dst, size_t *count, const char *src, size_t n)
Definition editor.cpp:211

Member Data Documentation

◆ arguments

scripts.idlnode.IDLExtAttrFunctionValue.arguments

Definition at line 646 of file idlnode.py.

◆ id

scripts.idlnode.IDLExtAttrFunctionValue.id

Definition at line 645 of file idlnode.py.


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