Argument Holder
This interfaces denotes that Node can accept arguments. The most famous example would be a CallExpression to populate CallExpression.arguments or the ReturnStatement.returnValue of a return statement.
We do have some use-cases where we are a little "relaxed" about what is an argument. For example, we also consider the BinaryOperator.lhs and BinaryOperator.rhs of a binary operator as arguments, so we can use node builders in the Node Fluent DSL.
Functions
Link copied to clipboard
Adds the expression to the list of arguments.
Link copied to clipboard
Adds a Node to the list of "held" nodes.