public CodeAwaitExpression Await(CodeExpression exp) { return(new CodeAwaitExpression(exp)); }
public CodeAwaitExpression(CodeExpression exp) { this.Expression = exp; }
public CodeArrayIndexerExpression Aref(CodeExpression exp, CodeExpression[] indices) { return(new CodeArrayIndexerExpression(exp, indices)); }
public CodeFromClause From(CodeExpression id, CodeExpression collection) { return(new CodeFromClause(id, collection)); }
public CodeBinaryOperatorExpression BinOp(CodeExpression l, CodeOperatorType op, CodeExpression r) { return(new CodeBinaryOperatorExpression(l, op, r)); }
public CodeMethodReferenceExpression MethodRef(CodeExpression exp, string methodName) { return(new CodeMethodReferenceExpression(exp, methodName)); }
public CodeWhereClause Where(CodeExpression e) { return(new CodeWhereClause(e)); }
public CodeExpression Appl(CodeExpression fn, params CodeExpression [] args) { return(new CodeApplicationExpression(fn, args)); }
public CodeExpression Sub(CodeExpression minuend, CodeExpression subtrahend) { return(new CodeBinaryOperatorExpression(minuend, CodeOperatorType.Sub, subtrahend)); }
public void GenerateCodeFromExpression(CodeExpression csExp, TextWriter writer, CodeGeneratorOptions codeGeneratorOptions) { this.writer = new IndentingTextWriter(writer); csExp.Accept(new CSharpExpressionWriter(this.writer)); }
public CodeSelectClause(CodeExpression projection) { this.Projection = projection; }
public CodeWhereClause(CodeExpression e) { this.Condition = e; }
public CodeThrowExceptionStatement(CodeExpression e) { this.Expression = e; }
public CodeCastExpression(CodeTypeReference type, CodeExpression exp) { this.TargetType = type; this.Expression = exp; }
public CodeExpression Lambda(CodeExpression[] args, CodeExpression expr) { return(new CodeLambdaExpression(args, expr)); }
public CodeExpression Add(CodeExpression augend, CodeExpression addend) { return(new CodeBinaryOperatorExpression(augend, CodeOperatorType.Add, addend)); }
public CodeCastExpression Cast(CodeTypeReference type, CodeExpression exp) { return(new CodeCastExpression(type, exp)); }
public CodeExpression Div(CodeExpression dividend, CodeExpression divisor) { return(new CodeBinaryOperatorExpression(dividend, CodeOperatorType.Div, divisor)); }
public CodeLetClause Let(CodeExpression id, CodeExpression value) { return(new CodeLetClause(id, value)); }
public CodeExpression Mul(CodeExpression multiplicand, CodeExpression multiplier) { return(new CodeBinaryOperatorExpression(multiplicand, CodeOperatorType.Mul, multiplier)); }
public CodeExpression Access(CodeExpression exp, string fieldName) { return(new CodeFieldReferenceExpression(exp, fieldName)); }
public CodeExpression ApplyMethod(CodeExpression obj, string method, params CodeExpression[] args) { return(new CodeApplicationExpression( this.MethodRef(obj, method), args)); }
public CodeQueryClause Select(CodeExpression projection) { return(new CodeSelectClause(projection)); }
public CodeParameterDeclarationExpression Param(Type type, string name, CodeExpression defaultValue) { return(new CodeParameterDeclarationExpression(type, name, defaultValue)); }
public CodeMethodReferenceExpression(CodeExpression r, string p) { this.TargetObject = r; this.MethodName = p; this.TypeReferences = new List <CodeTypeReference>(); }
public CodeFieldReferenceExpression(CodeExpression exp, string fieldName) { this.Expression = exp; this.FieldName = fieldName; }