Esempio n. 1
0
 public static SlangBinaryOperatorExpression Add(SlangExpression left, SlangExpression right)
 {
     return(new SlangBinaryOperatorExpression(SlangOperator.Add, left, right));
 }
Esempio n. 2
0
 public static SlangExpression Literal(SlangExpression typeExpression, object value)
 {
     return(new SlangLiteralExpression(typeExpression, value));
 }
Esempio n. 3
0
 public static SlangBinaryOperatorExpression Multiply(SlangExpression left, SlangExpression right)
 {
     return(new SlangBinaryOperatorExpression(SlangOperator.Multiply, left, right));
 }
Esempio n. 4
0
 public static SlangBinaryOperatorExpression Divide(SlangExpression left, SlangExpression right)
 {
     return(new SlangBinaryOperatorExpression(SlangOperator.Divide, left, right));
 }
Esempio n. 5
0
 public static SlangBinaryOperatorExpression Subtract(SlangExpression left, SlangExpression right)
 {
     return(new SlangBinaryOperatorExpression(SlangOperator.Subtract, left, right));
 }