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");
 }
示例#2
0
 public UnaryExpression(JsUnaryOperator op, JsToken target)
 {
     Op     = op;
     Target = target;
 }
 public JsUnaryExpression(JsUnaryOperator @operator, JsToken argument)
 {
     Operator = @operator;
     Argument = argument;
 }