Skip to contents
  • aexpr_new() instantiates a new aexpr node.

  • aexpr_type() checks if the node is a aexpr node.

  • aexpr_<child>_get() returns the <child> node of aexpr.

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

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

Usage

aexpr_new(ast, ann, expr)

aexpr_type(ast, node)

aexpr_ann_get(ast, node)

aexpr_ann_rep(ast, node, ann)

aexpr_ann_set(ast, node, ann)

aexpr_expr_get(ast, node)

aexpr_expr_rep(ast, node, expr)

aexpr_expr_set(ast, node, expr)

Arguments

ast

AST object

ann

ann node

expr

expr node

node

aexpr node