Exemple #1
0
 public ConstructorExpression(TokenPosition position, VariableExpression className, Expression[] parameters)
     : base(position)
 {
     _className = className;
     _parameters = parameters;
 }
Exemple #2
0
        public static Expression InOperator(string token, TokenPosition position, Expression[] terms)
        {
            VariableExpression varExpression = terms[0] as VariableExpression;

            return(new InExpression(position, varExpression, terms[1]));
        }
 public ConstructorExpression(TokenPosition position, VariableExpression className, Expression[] parameters) : base(position)
 {
     ClassName  = className;
     Parameters = parameters;
 }
 public TypeCastExpression(TokenPosition position, VariableExpression typeExpression, Expression targetExpression) : base(position)
 {
     _typeExpression   = typeExpression;
     _targetExpression = targetExpression;
 }
 public TypeCastExpression(TokenPosition position, VariableExpression typeExpression, Expression targetExpression) : base(position, typeExpression, targetExpression)
 {
 }
Exemple #6
0
 protected virtual Expression VisitVariable(VariableExpression expression)
 {
     return expression;
 }
Exemple #7
0
 protected virtual Expression VisitVariable(VariableExpression expression)
 {
     return(expression);
 }
Exemple #8
0
 public InExpression(TokenPosition position, VariableExpression variable, Expression expression) : base(position)
 {
     Variable   = variable;
     Expression = expression;
 }
Exemple #9
0
 public InExpression(TokenPosition position, VariableExpression variable, Expression expression) : base(position)
 {
     Variable = variable;
     Expression = expression;
 }