예제 #1
0
 public SymplEq(SymplExpression left, SymplExpression right, SourceSpan location) : base(location)
 {
     Left  = left;
     Right = right;
 }
예제 #2
0
 public SymplNew(SymplExpression type, SymplExpression[] arguments, SourceSpan location) : base(location)
 {
     Type      = type;
     Arguments = arguments;
 }
예제 #3
0
 public SymplSet(SymplExpression lhs, SymplExpression value, SourceSpan location) : base(location)
 {
     Source = lhs;
     Value  = value;
 }
예제 #4
0
 public SymplCall(SymplExpression fun, SymplExpression[] args, SourceSpan location) : base(location)
 {
     Function  = fun;
     Arguments = args;
 }
예제 #5
0
 public SymplBinary(SymplExpression left, SymplExpression right, ExpressionType operation, SourceSpan location) : base(location)
 {
     Left      = left;
     Right     = right;
     Operation = operation;
 }
예제 #6
0
 public SymplIf(SymplExpression test, SymplExpression consequent, SymplExpression?alternative, SourceSpan location) : base(location)
 {
     Test        = test;
     Consequent  = consequent;
     Alternative = alternative;
 }
예제 #7
0
 public SymplUnary(SymplExpression expression, ExpressionType operation, SourceSpan location) : base(location)
 {
     Operand   = expression;
     Operation = operation;
 }
예제 #8
0
 public SymplElt(SymplExpression expr, SymplExpression[] indexes, SourceSpan location) : base(location)
 {
     ObjectExpr = expr;
     Indexes    = indexes;
 }
예제 #9
0
 public LetBinding(IdOrKeywordToken variable, SymplExpression value)
 {
     Variable = variable;
     Value    = value;
 }
예제 #10
0
 public SymplDot(SymplExpression expr, SymplExpression[] exprs, SourceSpan location) : base(location)
 {
     Target      = expr;
     Expressions = exprs;
 }