예제 #1
0
 public SucoConditionalExpression(int startIndex, int endIndex, SucoExpression condition, SucoExpression truePart, SucoExpression falsePart, SucoType type = null)
     : base(startIndex, endIndex, type)
 {
     Condition = condition;
     True      = truePart;
     False     = falsePart;
 }
예제 #2
0
 public SucoLetExpression(int startIndex, int endIndex, string varName, SucoExpression valueExpr, SucoExpression innerExpr, SucoType type = null)
     : base(startIndex, endIndex, type)
 {
     VariableName    = varName;
     ValueExpression = valueExpr;
     InnerExpression = innerExpr;
 }
예제 #3
0
 public SucoBinaryOperatorExpression(int startIndex, int endIndex, SucoExpression left, SucoExpression right, BinaryOperator op, SucoType type = null)
     : base(startIndex, endIndex, type)
 {
     Left     = left;
     Right    = right;
     Operator = op;
 }
예제 #4
0
 public SucoImplicitConversionExpression(int startIndex, int endIndex, SucoExpression inner, SucoType type)
     : base(startIndex, endIndex, type)
 {
     Expression = inner;
 }
예제 #5
0
 public SucoUnaryOperatorExpression(int startIndex, int endIndex, SucoExpression operand, UnaryOperator op, SucoType type = null)
     : base(startIndex, endIndex, type)
 {
     Operand  = operand;
     Operator = op;
 }
예제 #6
0
 public SucoListExpressionCondition(int startIndex, int endIndex, SucoExpression expression)
     : base(startIndex, endIndex)
 {
     Expression = expression;
 }
예제 #7
0
 public SucoMemberAccessExpression(int startIndex, int endIndex, SucoExpression operand, string memberName, SucoType type = null)
     : base(startIndex, endIndex, type)
 {
     Operand    = operand;
     MemberName = memberName;
 }
 public SucoStringLiteralPieceExpression(SucoExpression expression)
 {
     Expression = expression;
 }