DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Deveel.Data.Linq.InnermostWhereFinder Class Reference
Inheritance diagram for Deveel.Data.Linq.InnermostWhereFinder:
Deveel.Data.Linq.ExpressionVisitor

Public Member Functions

MethodCallExpression GetInnermostWhere (Expression expression)
 
- Public Member Functions inherited from Deveel.Data.Linq.ExpressionVisitor
virtual Expression Visit (Expression exp)
 

Protected Member Functions

override Expression VisitMethodCall (MethodCallExpression expression)
 
- Protected Member Functions inherited from Deveel.Data.Linq.ExpressionVisitor
 ExpressionVisitor ()
 
virtual MemberBinding VisitBinding (MemberBinding binding)
 
virtual ElementInit VisitElementInitializer (ElementInit initializer)
 
virtual Expression VisitUnary (UnaryExpression u)
 
virtual Expression VisitBinary (BinaryExpression b)
 
virtual Expression VisitTypeIs (TypeBinaryExpression b)
 
virtual Expression VisitConstant (ConstantExpression c)
 
virtual Expression VisitConditional (ConditionalExpression c)
 
virtual Expression VisitParameter (ParameterExpression p)
 
virtual Expression VisitMemberAccess (MemberExpression m)
 
virtual ReadOnlyCollection< Expression > VisitExpressionList (ReadOnlyCollection< Expression > original)
 
virtual MemberAssignment VisitMemberAssignment (MemberAssignment assignment)
 
virtual MemberMemberBinding VisitMemberMemberBinding (MemberMemberBinding binding)
 
virtual MemberListBinding VisitMemberListBinding (MemberListBinding binding)
 
virtual IEnumerable< MemberBinding > VisitBindingList (ReadOnlyCollection< MemberBinding > original)
 
virtual IEnumerable< ElementInit > VisitElementInitializerList (ReadOnlyCollection< ElementInit > original)
 
virtual Expression VisitLambda (LambdaExpression lambda)
 
virtual NewExpression VisitNew (NewExpression nex)
 
virtual Expression VisitMemberInit (MemberInitExpression init)
 
virtual Expression VisitListInit (ListInitExpression init)
 
virtual Expression VisitNewArray (NewArrayExpression na)
 
virtual Expression VisitInvocation (InvocationExpression iv)
 

Private Attributes

MethodCallExpression innermostWhereExpression
 

Detailed Description

Definition at line 21 of file InnermostWhereFinder.cs.

Member Function Documentation

MethodCallExpression Deveel.Data.Linq.InnermostWhereFinder.GetInnermostWhere ( Expression  expression)
inline

Definition at line 24 of file InnermostWhereFinder.cs.

24  {
25  Visit(expression);
27  }
virtual Expression Visit(Expression exp)
override Expression Deveel.Data.Linq.InnermostWhereFinder.VisitMethodCall ( MethodCallExpression  expression)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Linq.ExpressionVisitor.

Definition at line 29 of file InnermostWhereFinder.cs.

29  {
30  if (expression.Method.Name == "Where")
31  innermostWhereExpression = expression;
32 
33  Visit(expression.Arguments[0]);
34 
35  return expression;
36  }
virtual Expression Visit(Expression exp)

Member Data Documentation

MethodCallExpression Deveel.Data.Linq.InnermostWhereFinder.innermostWhereExpression
private

Definition at line 22 of file InnermostWhereFinder.cs.


The documentation for this class was generated from the following file: