C# Class Zetbox.API.ExpressionTreeVisitor

显示文件 Open project: daszat/zetbox

Public Methods

Method Description
Visit ( Expression e ) : void

Visits the Expression Tree

Protected Methods

Method Description
VisitBinary ( BinaryExpression b ) : void

Visits a Binary Expression

VisitBinding ( MemberBinding binding ) : void

Visits a Binding

VisitBindingList ( ReadOnlyCollection list ) : void

Visits a BindingList

VisitConditional ( ConditionalExpression c ) : void

Visits a Conditional Expression

VisitConstant ( ConstantExpression c ) : void

Visits a Constant Expression

VisitElementInitializer ( ElementInit initializer ) : void

Visits a Element Initializer

VisitElementInitializerList ( ReadOnlyCollection list ) : void

Visits a ElementInitializer List

VisitExpressionList ( ReadOnlyCollection list ) : void

Visits a Expression List

VisitInvocation ( InvocationExpression iv ) : void

Visits a Invocation Expression

VisitLambda ( LambdaExpression lambda ) : void

Visits a Lambda Expression

VisitListInit ( ListInitExpression init ) : void

Visits a List Init Expression

VisitMemberAccess ( MemberExpression m ) : void

Visits a Member Access Expression

VisitMemberAssignment ( MemberAssignment assignment ) : void

Visits a Member Assignment

VisitMemberInit ( MemberInitExpression init ) : void

Visits a MemberInit Expression

VisitMemberListBinding ( MemberListBinding binding ) : void

Visits a MemberListBinding

VisitMemberMemberBinding ( MemberMemberBinding binding ) : void

Visits a MemberMemberBinding

VisitMethodCall ( MethodCallExpression m ) : void

Visits a MethodCall Expression

VisitNewArray ( NewArrayExpression na ) : void

Visits a new Array Expression

VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : void

Visits a Parameter Expression

VisitTypeIs ( TypeBinaryExpression b ) : void

Visits a TypeIs Expression

VisitUnary ( UnaryExpression u ) : void

Visits a Unary Expression

Private Methods

Method Description
VisitNew ( NewExpression newExpression ) : void

Method Details

Visit() public method

Visits the Expression Tree
public Visit ( Expression e ) : void
e System.Linq.Expressions.Expression Linq Expression
return void

VisitBinary() protected method

Visits a Binary Expression
protected VisitBinary ( BinaryExpression b ) : void
b System.Linq.Expressions.BinaryExpression Binary Expression
return void

VisitBinding() protected method

Visits a Binding
protected VisitBinding ( MemberBinding binding ) : void
binding System.Linq.Expressions.MemberBinding MemberBinding Expression
return void

VisitBindingList() protected method

Visits a BindingList
protected VisitBindingList ( ReadOnlyCollection list ) : void
list ReadOnlyCollection MemberBinding List
return void

VisitConditional() protected method

Visits a Conditional Expression
protected VisitConditional ( ConditionalExpression c ) : void
c System.Linq.Expressions.ConditionalExpression Conditional Expression
return void

VisitConstant() protected method

Visits a Constant Expression
protected VisitConstant ( ConstantExpression c ) : void
c System.Linq.Expressions.ConstantExpression Constant Expression
return void

VisitElementInitializer() protected method

Visits a Element Initializer
protected VisitElementInitializer ( ElementInit initializer ) : void
initializer System.Linq.Expressions.ElementInit ElementInit Expression
return void

VisitElementInitializerList() protected method

Visits a ElementInitializer List
protected VisitElementInitializerList ( ReadOnlyCollection list ) : void
list ReadOnlyCollection ElementInit List
return void

VisitExpressionList() protected method

Visits a Expression List
protected VisitExpressionList ( ReadOnlyCollection list ) : void
list ReadOnlyCollection Expression List
return void

VisitInvocation() protected method

Visits a Invocation Expression
protected VisitInvocation ( InvocationExpression iv ) : void
iv System.Linq.Expressions.InvocationExpression Invocation Expression
return void

VisitLambda() protected method

Visits a Lambda Expression
protected VisitLambda ( LambdaExpression lambda ) : void
lambda System.Linq.Expressions.LambdaExpression Lambda Expression
return void

VisitListInit() protected method

Visits a List Init Expression
protected VisitListInit ( ListInitExpression init ) : void
init System.Linq.Expressions.ListInitExpression List Init Expression
return void

VisitMemberAccess() protected method

Visits a Member Access Expression
protected VisitMemberAccess ( MemberExpression m ) : void
m System.Linq.Expressions.MemberExpression Member Expression
return void

VisitMemberAssignment() protected method

Visits a Member Assignment
protected VisitMemberAssignment ( MemberAssignment assignment ) : void
assignment System.Linq.Expressions.MemberAssignment Member Assignment Expression
return void

VisitMemberInit() protected method

Visits a MemberInit Expression
protected VisitMemberInit ( MemberInitExpression init ) : void
init System.Linq.Expressions.MemberInitExpression MemberInit Expression
return void

VisitMemberListBinding() protected method

Visits a MemberListBinding
protected VisitMemberListBinding ( MemberListBinding binding ) : void
binding System.Linq.Expressions.MemberListBinding MemberListBinding Expression
return void

VisitMemberMemberBinding() protected method

Visits a MemberMemberBinding
protected VisitMemberMemberBinding ( MemberMemberBinding binding ) : void
binding System.Linq.Expressions.MemberMemberBinding MemberMemberBinding Expression
return void

VisitMethodCall() protected method

Visits a MethodCall Expression
protected VisitMethodCall ( MethodCallExpression m ) : void
m System.Linq.Expressions.MethodCallExpression MethodCall Expression
return void

VisitNewArray() protected method

Visits a new Array Expression
protected VisitNewArray ( NewArrayExpression na ) : void
na System.Linq.Expressions.NewArrayExpression new Array Expression
return void

VisitParameter() protected method

Visits a Parameter Expression
protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : void
p System.Linq.Expressions.ParameterExpression Parameter Expression
return void

VisitTypeIs() protected method

Visits a TypeIs Expression
protected VisitTypeIs ( TypeBinaryExpression b ) : void
b System.Linq.Expressions.TypeBinaryExpression TypeBinary Expression
return void

VisitUnary() protected method

Visits a Unary Expression
protected VisitUnary ( UnaryExpression u ) : void
u System.Linq.Expressions.UnaryExpression Unary Expression
return void