ExpressionVisitor Classe

Definição

Representa um visitante ou regravador para árvores de expressão.Represents a visitor or rewriter for expression trees.

public ref class ExpressionVisitor abstract
public abstract class ExpressionVisitor
type ExpressionVisitor = class
Public MustInherit Class ExpressionVisitor
Herança
ExpressionVisitor
Derivado

Comentários

Essa classe foi projetada para ser herdada para criar classes mais especializadas cuja funcionalidade requer atravessamento, exame ou cópia de uma árvore de expressão.This class is designed to be inherited to create more specialized classes whose functionality requires traversing, examining or copying an expression tree.

Construtores

ExpressionVisitor()

Inicializa uma nova instância de ExpressionVisitor.Initializes a new instance of ExpressionVisitor.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)
Visit(Expression)

Envia a expressão a um dos métodos de visita mais especializados nessa classe.Dispatches the expression to one of the more specialized visit methods in this class.

Visit(ReadOnlyCollection<Expression>)

Envia a lista de expressões para um dos métodos de visita mais especializados nessa classe.Dispatches the list of expressions to one of the more specialized visit methods in this class.

Visit<T>(ReadOnlyCollection<T>, Func<T,T>)

Visita todos os nós na coleção usando um visitante de elemento especificado.Visits all nodes in the collection using a specified element visitor.

VisitAndConvert<T>(ReadOnlyCollection<T>, String)

Visitas todas as expressões na coleção, convertendo os resultados de volta para o tipo de expressão original.Visits all expressions in the collection, casting the results back to the original expression type.

VisitAndConvert<T>(T, String)

Visita uma expressão, convertendo os resultados de volta ao tipo de expressão original.Visits an expression, casting the result back to the original expression type.

VisitBinary(BinaryExpression)

Visita os filhos de BinaryExpression.Visits the children of the BinaryExpression.

VisitBlock(BlockExpression)

Visita os filhos de BlockExpression.Visits the children of the BlockExpression.

VisitCatchBlock(CatchBlock)

Visita os filhos de CatchBlock.Visits the children of the CatchBlock.

VisitConditional(ConditionalExpression)

Visita os filhos de ConditionalExpression.Visits the children of the ConditionalExpression.

VisitConstant(ConstantExpression)

Visita o ConstantExpression.Visits the ConstantExpression.

VisitDebugInfo(DebugInfoExpression)

Visita o DebugInfoExpression.Visits the DebugInfoExpression.

VisitDefault(DefaultExpression)

Visita o DefaultExpression.Visits the DefaultExpression.

VisitDynamic(DynamicExpression)

Visita os filhos de DynamicExpression.Visits the children of the DynamicExpression.

VisitElementInit(ElementInit)

Visita os filhos de ElementInit.Visits the children of the ElementInit.

VisitExtension(Expression)

Visita os filhos da expressão de extensão.Visits the children of the extension expression.

VisitGoto(GotoExpression)

Visita os filhos de GotoExpression.Visits the children of the GotoExpression.

VisitIndex(IndexExpression)

Visita os filhos de IndexExpression.Visits the children of the IndexExpression.

VisitInvocation(InvocationExpression)

Visita os filhos de InvocationExpression.Visits the children of the InvocationExpression.

VisitLabel(LabelExpression)

Visita os filhos de LabelExpression.Visits the children of the LabelExpression.

VisitLabelTarget(LabelTarget)

Visita o LabelTarget.Visits the LabelTarget.

VisitLambda<T>(Expression<T>)

Visita os filhos de Expression<TDelegate>.Visits the children of the Expression<TDelegate>.

VisitListInit(ListInitExpression)

Visita os filhos de ListInitExpression.Visits the children of the ListInitExpression.

VisitLoop(LoopExpression)

Visita os filhos de LoopExpression.Visits the children of the LoopExpression.

VisitMember(MemberExpression)

Visita os filhos de MemberExpression.Visits the children of the MemberExpression.

VisitMemberAssignment(MemberAssignment)

Visita os filhos de MemberAssignment.Visits the children of the MemberAssignment.

VisitMemberBinding(MemberBinding)

Visita os filhos de MemberBinding.Visits the children of the MemberBinding.

VisitMemberInit(MemberInitExpression)

Visita os filhos de MemberInitExpression.Visits the children of the MemberInitExpression.

VisitMemberListBinding(MemberListBinding)

Visita os filhos de MemberListBinding.Visits the children of the MemberListBinding.

VisitMemberMemberBinding(MemberMemberBinding)

Visita os filhos de MemberMemberBinding.Visits the children of the MemberMemberBinding.

VisitMethodCall(MethodCallExpression)

Visita os filhos de MethodCallExpression.Visits the children of the MethodCallExpression.

VisitNew(NewExpression)

Visita os filhos de NewExpression.Visits the children of the NewExpression.

VisitNewArray(NewArrayExpression)

Visita os filhos de NewArrayExpression.Visits the children of the NewArrayExpression.

VisitParameter(ParameterExpression)

Visita o ParameterExpression.Visits the ParameterExpression.

VisitRuntimeVariables(RuntimeVariablesExpression)

Visita os filhos de RuntimeVariablesExpression.Visits the children of the RuntimeVariablesExpression.

VisitSwitch(SwitchExpression)

Visita os filhos de SwitchExpression.Visits the children of the SwitchExpression.

VisitSwitchCase(SwitchCase)

Visita os filhos de SwitchCase.Visits the children of the SwitchCase.

VisitTry(TryExpression)

Visita os filhos de TryExpression.Visits the children of the TryExpression.

VisitTypeBinary(TypeBinaryExpression)

Visita os filhos de TypeBinaryExpression.Visits the children of the TypeBinaryExpression.

VisitUnary(UnaryExpression)

Visita os filhos de UnaryExpression.Visits the children of the UnaryExpression.

Aplica-se a