Elsa Ast Type Function: Difference between revisions

Jump to navigation Jump to search
where to find the parameters
(some field content added)
(where to find the parameters)
Line 30: Line 30:
   -- ; retspec :  
   -- ; retspec :  
   -->
   -->
; nameAndParams : name and parameters
; nameAndParams : Name. Parameters can be accessed easier via funcType.function_type_params.
; function_inits : nonempty only for constructors: member initialization list
; function_inits : nonempty only for constructors: member initialization list
<!-- ; function_body :  
<!-- ; function_body :  
   -- ; function_handlers :  
   -- ; function_handlers :  
   -- ; funcType :  
   -- ; funcType : type
   -- ; receiver :  
   -- ; receiver :  
   -- ; retVar :  
   -- ; retVar :  
Line 52: Line 52:
Variable name and declarator variable are always present, as far
Variable name and declarator variable are always present, as far
as I can tell.
as I can tell.
==== Parameters ====
To access the variable nodes for the function parameters follow
funcType.function_type_params.
193

edits

Navigation menu