AST source position tracking.  
More...
AST source position tracking. 
◆ node_builtin()
get the builtin node node used for drivers that declare builtin symbols 
- Parameters
 - 
  
    | name | the name of the builtin file  | 
    | arena | the arena to allocate from | 
  
   
- Returns
 - the builtin node 
 
Definition at line 11 of file node.c.
 
 
◆ node_get_location()
get the location of a node inside its source file 
- Parameters
 - 
  
    | node | the node to get the location of | 
  
   
- Returns
 - the location of 
node  
Definition at line 65 of file node.c.
 
 
◆ node_get_scan()
get the associated source file of a node 
- Parameters
 - 
  
    | node | the node to get the source file of | 
  
   
- Returns
 - the source file of 
node  
Definition at line 57 of file node.c.
 
 
◆ node_init()
initialize a source node 
- Parameters
 - 
  
    | node | the node to initialize  | 
    | scan | the scanner that this node is in  | 
    | where | the location of this node  | 
  
   
 
 
◆ node_is_builtin()
check if a node is the builtin node 
- Parameters
 - 
  
  
 
- Returns
 - whether or not 
node is the builtin node  
Definition at line 23 of file node.c.
 
 
◆ node_make()
create a new node on the stack 
- Parameters
 - 
  
    | scan | the scanner that this node is in  | 
    | where | the location of this node | 
  
   
- Returns
 - the created node 
 
Definition at line 49 of file node.c.
 
 
◆ node_new()
create a new node on the heap 
- Parameters
 - 
  
    | scan | the scanner that this node is in  | 
    | where | the location of this node | 
  
   
- Returns
 - the created node 
 
Definition at line 40 of file node.c.
 
 
◆ kNowhere
nowhere in a source file 
Definition at line 8 of file node.c.