UnOp constructor
Constructs a unary mathematical operation with the operator and operand.
Parameters:
value: String representation of the operator ("+" or "-")child: The operand expression to apply the operation to
Implementation
UnOp(String value, Node<dynamic, LangVal> child)
: super(MathOp.fromString(value), [child]);