ExpressionVisitor ExpressionVisitor ExpressionVisitor ExpressionVisitor Class

Définition

Représente un visiteur ou un module de réécriture pour les arborescences d'expression.Represents a visitor or rewriter for expression trees.

public ref class ExpressionVisitor abstract
public abstract class ExpressionVisitor
type ExpressionVisitor = class
Public MustInherit Class ExpressionVisitor
Héritage
ExpressionVisitorExpressionVisitorExpressionVisitorExpressionVisitor
Dérivé

Remarques

Cette classe est conçue pour être héritée pour créer des classes plus spécialisées dont la fonctionnalité nécessite de parcourir, d’examiner ou copier une arborescence d’expression.This class is designed to be inherited to create more specialized classes whose functionality requires traversing, examining or copying an expression tree.

Constructeurs

ExpressionVisitor() ExpressionVisitor() ExpressionVisitor() ExpressionVisitor()

Initialise une nouvelle instance de ExpressionVisitor.Initializes a new instance of ExpressionVisitor.

Méthodes

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Détermine si l'objet spécifié est identique à l'objet actuel.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Fait office de fonction de hachage par défaut.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtient le Type de l'instance actuelle.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crée une copie superficielle du Object actuel.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Retourne une chaîne qui représente l'objet actuel.Returns a string that represents the current object.

(Inherited from Object)
Visit(Expression) Visit(Expression) Visit(Expression) Visit(Expression)

Distribue l'expression à l'une des méthodes de visite les plus spécialisées dans cette classe.Dispatches the expression to one of the more specialized visit methods in this class.

Visit(ReadOnlyCollection<Expression>) Visit(ReadOnlyCollection<Expression>) Visit(ReadOnlyCollection<Expression>) Visit(ReadOnlyCollection<Expression>)

Distribue la liste des expressions à l'une des méthodes de visite les plus spécialisées dans cette classe.Dispatches the list of expressions to one of the more specialized visit methods in this class.

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

Visite tous les nœuds dans la collection à l'aide d'un visiteur d'élément spécifié.Visits all nodes in the collection using a specified element visitor.

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

Visite toutes les expressions de la collection, en effectuant un cast des résultats vers le type d’expression d’origine.Visits all expressions in the collection, casting the results back to the original expression type.

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

Visite une expression, en effectuant un cast arrière du résultat vers le type d'expression d'origine.Visits an expression, casting the result back to the original expression type.

VisitBinary(BinaryExpression) VisitBinary(BinaryExpression) VisitBinary(BinaryExpression) VisitBinary(BinaryExpression)

Visite les enfants de BinaryExpression.Visits the children of the BinaryExpression.

VisitBlock(BlockExpression) VisitBlock(BlockExpression) VisitBlock(BlockExpression) VisitBlock(BlockExpression)

Visite les enfants de BlockExpression.Visits the children of the BlockExpression.

VisitCatchBlock(CatchBlock) VisitCatchBlock(CatchBlock) VisitCatchBlock(CatchBlock) VisitCatchBlock(CatchBlock)

Visite les enfants de CatchBlock.Visits the children of the CatchBlock.

VisitConditional(ConditionalExpression) VisitConditional(ConditionalExpression) VisitConditional(ConditionalExpression) VisitConditional(ConditionalExpression)

Visite les enfants de ConditionalExpression.Visits the children of the ConditionalExpression.

VisitConstant(ConstantExpression) VisitConstant(ConstantExpression) VisitConstant(ConstantExpression) VisitConstant(ConstantExpression)

Visite ConstantExpression.Visits the ConstantExpression.

VisitDebugInfo(DebugInfoExpression) VisitDebugInfo(DebugInfoExpression) VisitDebugInfo(DebugInfoExpression) VisitDebugInfo(DebugInfoExpression)

Visite DebugInfoExpression.Visits the DebugInfoExpression.

VisitDefault(DefaultExpression) VisitDefault(DefaultExpression) VisitDefault(DefaultExpression) VisitDefault(DefaultExpression)

Visite DefaultExpression.Visits the DefaultExpression.

VisitDynamic(DynamicExpression) VisitDynamic(DynamicExpression) VisitDynamic(DynamicExpression) VisitDynamic(DynamicExpression)

Visite les enfants de DynamicExpression.Visits the children of the DynamicExpression.

VisitElementInit(ElementInit) VisitElementInit(ElementInit) VisitElementInit(ElementInit) VisitElementInit(ElementInit)

Visite les enfants de ElementInit.Visits the children of the ElementInit.

VisitExtension(Expression) VisitExtension(Expression) VisitExtension(Expression) VisitExtension(Expression)

Visite les enfants de l'expression d'extension.Visits the children of the extension expression.

VisitGoto(GotoExpression) VisitGoto(GotoExpression) VisitGoto(GotoExpression) VisitGoto(GotoExpression)

Visite les enfants de GotoExpression.Visits the children of the GotoExpression.

VisitIndex(IndexExpression) VisitIndex(IndexExpression) VisitIndex(IndexExpression) VisitIndex(IndexExpression)

Visite les enfants de IndexExpression.Visits the children of the IndexExpression.

VisitInvocation(InvocationExpression) VisitInvocation(InvocationExpression) VisitInvocation(InvocationExpression) VisitInvocation(InvocationExpression)

Visite les enfants de InvocationExpression.Visits the children of the InvocationExpression.

VisitLabel(LabelExpression) VisitLabel(LabelExpression) VisitLabel(LabelExpression) VisitLabel(LabelExpression)

Visite les enfants de LabelExpression.Visits the children of the LabelExpression.

VisitLabelTarget(LabelTarget) VisitLabelTarget(LabelTarget) VisitLabelTarget(LabelTarget) VisitLabelTarget(LabelTarget)

Visite LabelTarget.Visits the LabelTarget.

VisitLambda<T>(Expression<T>) VisitLambda<T>(Expression<T>) VisitLambda<T>(Expression<T>) VisitLambda<T>(Expression<T>)

Visite les enfants de Expression<TDelegate>.Visits the children of the Expression<TDelegate>.

VisitListInit(ListInitExpression) VisitListInit(ListInitExpression) VisitListInit(ListInitExpression) VisitListInit(ListInitExpression)

Visite les enfants de ListInitExpression.Visits the children of the ListInitExpression.

VisitLoop(LoopExpression) VisitLoop(LoopExpression) VisitLoop(LoopExpression) VisitLoop(LoopExpression)

Visite les enfants de LoopExpression.Visits the children of the LoopExpression.

VisitMember(MemberExpression) VisitMember(MemberExpression) VisitMember(MemberExpression) VisitMember(MemberExpression)

Visite les enfants de MemberExpression.Visits the children of the MemberExpression.

VisitMemberAssignment(MemberAssignment) VisitMemberAssignment(MemberAssignment) VisitMemberAssignment(MemberAssignment) VisitMemberAssignment(MemberAssignment)

Visite les enfants de MemberAssignment.Visits the children of the MemberAssignment.

VisitMemberBinding(MemberBinding) VisitMemberBinding(MemberBinding) VisitMemberBinding(MemberBinding) VisitMemberBinding(MemberBinding)

Visite les enfants de MemberBinding.Visits the children of the MemberBinding.

VisitMemberInit(MemberInitExpression) VisitMemberInit(MemberInitExpression) VisitMemberInit(MemberInitExpression) VisitMemberInit(MemberInitExpression)

Visite les enfants de MemberInitExpression.Visits the children of the MemberInitExpression.

VisitMemberListBinding(MemberListBinding) VisitMemberListBinding(MemberListBinding) VisitMemberListBinding(MemberListBinding) VisitMemberListBinding(MemberListBinding)

Visite les enfants de MemberListBinding.Visits the children of the MemberListBinding.

VisitMemberMemberBinding(MemberMemberBinding) VisitMemberMemberBinding(MemberMemberBinding) VisitMemberMemberBinding(MemberMemberBinding) VisitMemberMemberBinding(MemberMemberBinding)

Visite les enfants de MemberMemberBinding.Visits the children of the MemberMemberBinding.

VisitMethodCall(MethodCallExpression) VisitMethodCall(MethodCallExpression) VisitMethodCall(MethodCallExpression) VisitMethodCall(MethodCallExpression)

Visite les enfants de MethodCallExpression.Visits the children of the MethodCallExpression.

VisitNew(NewExpression) VisitNew(NewExpression) VisitNew(NewExpression) VisitNew(NewExpression)

Visite les enfants de NewExpression.Visits the children of the NewExpression.

VisitNewArray(NewArrayExpression) VisitNewArray(NewArrayExpression) VisitNewArray(NewArrayExpression) VisitNewArray(NewArrayExpression)

Visite les enfants de NewArrayExpression.Visits the children of the NewArrayExpression.

VisitParameter(ParameterExpression) VisitParameter(ParameterExpression) VisitParameter(ParameterExpression) VisitParameter(ParameterExpression)

Visite ParameterExpression.Visits the ParameterExpression.

VisitRuntimeVariables(RuntimeVariablesExpression) VisitRuntimeVariables(RuntimeVariablesExpression) VisitRuntimeVariables(RuntimeVariablesExpression) VisitRuntimeVariables(RuntimeVariablesExpression)

Visite les enfants de RuntimeVariablesExpression.Visits the children of the RuntimeVariablesExpression.

VisitSwitch(SwitchExpression) VisitSwitch(SwitchExpression) VisitSwitch(SwitchExpression) VisitSwitch(SwitchExpression)

Visite les enfants de SwitchExpression.Visits the children of the SwitchExpression.

VisitSwitchCase(SwitchCase) VisitSwitchCase(SwitchCase) VisitSwitchCase(SwitchCase) VisitSwitchCase(SwitchCase)

Visite les enfants de SwitchCase.Visits the children of the SwitchCase.

VisitTry(TryExpression) VisitTry(TryExpression) VisitTry(TryExpression) VisitTry(TryExpression)

Visite les enfants de TryExpression.Visits the children of the TryExpression.

VisitTypeBinary(TypeBinaryExpression) VisitTypeBinary(TypeBinaryExpression) VisitTypeBinary(TypeBinaryExpression) VisitTypeBinary(TypeBinaryExpression)

Visite les enfants de TypeBinaryExpression.Visits the children of the TypeBinaryExpression.

VisitUnary(UnaryExpression) VisitUnary(UnaryExpression) VisitUnary(UnaryExpression) VisitUnary(UnaryExpression)

Visite les enfants de UnaryExpression.Visits the children of the UnaryExpression.

S’applique à