Skip to contents
  • lgl_new() instantiates a new lgl node.

  • lgl_type() checks if the node is a lgl node.

  • lgl_<child>_get() returns the <child> node of lgl.

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

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

Usage

lgl_type(ast, node)

lgl_val_get(ast, node)

lgl_gap_get(ast, node)

lgl_gap_rep(ast, node, gap)

lgl_gap_set(ast, node, gap)

lgl_loc_get(ast, node)

Arguments

ast

AST object

node

lgl node

gap

gap node