UnaryPlus constructor
UnaryPlus(
- dynamic exp
Creates a new unary plus operation on the given expression.
For example, to create +1:
one = Number(1);
plus_one = UnaryPlus(one);
or just:
plus_one = UnaryPlus(1);
Implementation
UnaryPlus(super.exp);