public JsUnaryExpression(JsUnaryOperator @operator, JsToken argument) { Operator = @operator ?? throw new SyntaxErrorException($"Operator missing in Unary Expression"); Argument = argument ?? throw new SyntaxErrorException($"Argument missing in Unary Expression"); }
public UnaryExpression(JsUnaryOperator op, JsToken target) { Op = op; Target = target; }
public JsUnaryExpression(JsUnaryOperator @operator, JsToken argument) { Operator = @operator; Argument = argument; }