Skip to contents
  • fncall_new() instantiates a new fncall node.

  • fncall_type() checks if the node is a fncall node.

  • fncall_<child>_get() returns the <child> node of fncall.

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

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

Usage

fncall_new(ast, fn, lbkt, args, rbkt)

fncall_type(ast, node)

fncall_fn_get(ast, node)

fncall_fn_rep(ast, node, fn)

fncall_fn_set(ast, node, fn)

fncall_lbkt_get(ast, node)

fncall_lbkt_rep(ast, node, lbkt)

fncall_lbkt_set(ast, node, lbkt)

fncall_args_get(ast, node)

fncall_args_rep(ast, node, args)

fncall_args_set(ast, node, args)

fncall_rbkt_get(ast, node)

fncall_rbkt_rep(ast, node, rbkt)

fncall_rbkt_set(ast, node, rbkt)

Arguments

ast

AST object

fn

fn node

lbkt

lbkt node

args

args node

rbkt

rbkt node

node

fncall node