Table of Contents

Class ExpressionPrettyPrinter

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.Legacy.dll

A class that pretty prints an Expression.

public class ExpressionPrettyPrinter : ExpressionVisitor
Inheritance
ExpressionPrettyPrinter
Inherited Members
Extension Methods

Constructors

ExpressionPrettyPrinter()

Initializes a new instance of the ExpressionPrettyPrinter class.

Methods

PrettyPrint(Expression)

Pretty prints an Expression.

ToString()

Returns the pretty printed string representation of the Expression.

VisitBinary(BinaryExpression)

Visits a BinaryExpression.

VisitConditional(ConditionalExpression)

Visits a ConditionalExpression.

VisitConstant(ConstantExpression)

Visits a ConstantExpression.

VisitElementInit(ElementInit)

Visits an ElementInit node.

VisitElementInitList(ReadOnlyCollection<ElementInit>)

Visits an ElementInit list.

VisitInvocation(InvocationExpression)

Visits an InvocationExpression.

VisitLambda(LambdaExpression)

Visits a LambdaExpression.

VisitListInit(ListInitExpression)

Visits a ListInitExpression.

VisitMember(MemberExpression)

Visits a MemberExpression.

VisitMemberAssignment(MemberAssignment)

Visits a MemberAssignment.

VisitMemberBinding(MemberBinding)

Visits a MemberBinding.

VisitMemberBindingList(ReadOnlyCollection<MemberBinding>)

Visits a MemberBinding list.

VisitMemberInit(MemberInitExpression)

Visits a MemberInitExpression.

VisitMemberListBinding(MemberListBinding)

Visits a MemberListBinding.

VisitMemberMemberBinding(MemberMemberBinding)

Visits a MemberMemberBinding.

VisitMethodCall(MethodCallExpression)

Visits a MethodCallExpression.

VisitNew(NewExpression)

Visits a NewExpression.

VisitNewArray(NewArrayExpression)

Visits a NewArrayExpression.

VisitParameter(ParameterExpression)

Visits a ParameterExpression.

VisitTypeBinary(TypeBinaryExpression)

Visits a TypeBinaryExpression.

VisitUnary(UnaryExpression)

Visits a UnaryExpression.