Elsa Ast Type Function: Difference between revisions

Jump to navigation Jump to search
location and name
(atomic type renamings and TS_typeof confusion)
(location and name)
Line 25: Line 25:


<!-- OLMAR SEPARATION LINE: ADD YOUR MODIFICATIONS BELOW! -->
<!-- OLMAR SEPARATION LINE: ADD YOUR MODIFICATIONS BELOW! -->
==== Location ====
Function nodes don't have a sourceLoc field, but the syntax nodes
above Function nodes do.
==== Function name ====
To obtain the function name go to the declarator via
nameAndParams and extract the name of the declarator_var.
Variable name and declarator variable are always present, as far
as I can tell.
193

edits

Navigation menu