C# Class LinqTo7Dizzle.ExpressionVisitors.ExpressionVisitor

Mostra file Open project: 7digital/LinqTo7dizzle

Protected Methods

Method Description
ConvertVBStringCompare ( BinaryExpression exp ) : BinaryExpression

VB compiler generates CompareString() for comparisons and this routine extracts the comparison into an expression

Visit ( Expression exp ) : Expression
VisitBinary ( BinaryExpression b ) : Expression
VisitBinding ( MemberBinding binding ) : MemberBinding
VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
VisitConditional ( ConditionalExpression c ) : Expression
VisitConstant ( ConstantExpression c ) : Expression
VisitElementInitializer ( ElementInit initializer ) : ElementInit
VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
VisitInvocation ( InvocationExpression iv ) : Expression
VisitLambda ( LambdaExpression lambda ) : Expression
VisitListInit ( ListInitExpression init ) : Expression
VisitMemberAccess ( MemberExpression m ) : Expression
VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
VisitMemberInit ( MemberInitExpression init ) : Expression
VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
VisitMethodCall ( MethodCallExpression m ) : Expression
VisitNew ( NewExpression nex ) : NewExpression
VisitNewArray ( NewArrayExpression na ) : Expression
VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
VisitTypeIs ( TypeBinaryExpression b ) : Expression
VisitUnary ( UnaryExpression u ) : Expression

Method Details

ConvertVBStringCompare() protected method

VB compiler generates CompareString() for comparisons and this routine extracts the comparison into an expression
protected ConvertVBStringCompare ( BinaryExpression exp ) : BinaryExpression
exp System.Linq.Expressions.BinaryExpression Expression to evaluate
return System.Linq.Expressions.BinaryExpression

Visit() protected method

protected Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitBinary() protected method

protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.Expression

VisitBinding() protected method

protected VisitBinding ( MemberBinding binding ) : MemberBinding
binding System.Linq.Expressions.MemberBinding
return System.Linq.Expressions.MemberBinding

VisitBindingList() protected method

protected VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
return IEnumerable

VisitConditional() protected method

protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
return System.Linq.Expressions.Expression

VisitConstant() protected method

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitElementInitializer() protected method

protected VisitElementInitializer ( ElementInit initializer ) : ElementInit
initializer System.Linq.Expressions.ElementInit
return System.Linq.Expressions.ElementInit

VisitElementInitializerList() protected method

protected VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
return IEnumerable

VisitExpressionList() protected method

protected VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
original ReadOnlyCollection
return ReadOnlyCollection

VisitInvocation() protected method

protected VisitInvocation ( InvocationExpression iv ) : Expression
iv System.Linq.Expressions.InvocationExpression
return System.Linq.Expressions.Expression

VisitLambda() protected method

protected VisitLambda ( LambdaExpression lambda ) : Expression
lambda System.Linq.Expressions.LambdaExpression
return System.Linq.Expressions.Expression

VisitListInit() protected method

protected VisitListInit ( ListInitExpression init ) : Expression
init System.Linq.Expressions.ListInitExpression
return System.Linq.Expressions.Expression

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMemberAssignment() protected method

protected VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
return System.Linq.Expressions.MemberAssignment

VisitMemberInit() protected method

protected VisitMemberInit ( MemberInitExpression init ) : Expression
init System.Linq.Expressions.MemberInitExpression
return System.Linq.Expressions.Expression

VisitMemberListBinding() protected method

protected VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
binding System.Linq.Expressions.MemberListBinding
return System.Linq.Expressions.MemberListBinding

VisitMemberMemberBinding() protected method

protected VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
binding System.Linq.Expressions.MemberMemberBinding
return System.Linq.Expressions.MemberMemberBinding

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitNew() protected method

protected VisitNew ( NewExpression nex ) : NewExpression
nex System.Linq.Expressions.NewExpression
return System.Linq.Expressions.NewExpression

VisitNewArray() protected method

protected VisitNewArray ( NewArrayExpression na ) : Expression
na System.Linq.Expressions.NewArrayExpression
return System.Linq.Expressions.Expression

VisitParameter() protected method

protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
return System.Linq.Expressions.Expression

VisitTypeIs() protected method

protected VisitTypeIs ( TypeBinaryExpression b ) : Expression
b System.Linq.Expressions.TypeBinaryExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression