コード例 #1
0
 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;
 }
コード例 #3
0
 public JsUnaryExpression(JsUnaryOperator @operator, JsToken argument)
 {
     Operator = @operator;
     Argument = argument;
 }