Skip to contents
  • int_new() instantiates a new int node.

  • int_type() checks if the node is a int node.

  • int_<child>_get() returns the <child> node of int.

  • int_<child>_set() sets the new <child> and deletes the old <child>.

  • int_<child>_rep() sets the new <child> and returns the old <child>.

Usage

int_type(ast, node)

int_syn_get(ast, node)

int_val_get(ast, node)

int_gap_get(ast, node)

int_gap_rep(ast, node, gap)

int_gap_set(ast, node, gap)

int_loc_get(ast, node)

Arguments

ast

AST object

node

int node

gap

gap node