using System;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// Represents a visitor or rewriter for expression trees.
// Token: 0x0200008A RID: 138
[Token(Token = "0x200008A")]
public abstract class ExpressionVisitor
{
/// Initializes a new instance of .
// Token: 0x06000417 RID: 1047 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000417")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected ExpressionVisitor()
{
}
/// Dispatches the expression to one of the more specialized visit methods in this class.
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000418 RID: 1048 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000418")]
[Address(RVA = "0x5B97C0", Offset = "0x5B85C0", VA = "0x1805B97C0", Slot = "4")]
public virtual Expression Visit(Expression node)
{
return null;
}
/// Dispatches the list of expressions to one of the more specialized visit methods in this class.
/// The expressions to visit.
/// The modified expression list, if any one of the elements were modified; otherwise, returns the original expression list.
// Token: 0x06000419 RID: 1049 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000419")]
[Address(RVA = "0x5B95C0", Offset = "0x5B83C0", VA = "0x1805B95C0")]
public ReadOnlyCollection Visit(ReadOnlyCollection nodes)
{
return null;
}
// Token: 0x0600041A RID: 1050 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041A")]
[Address(RVA = "0x5B8B00", Offset = "0x5B7900", VA = "0x1805B8B00")]
private Expression[] VisitArguments(IArgumentProvider nodes)
{
return null;
}
// Token: 0x0600041B RID: 1051 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041B")]
[Address(RVA = "0x5B9370", Offset = "0x5B8170", VA = "0x1805B9370")]
private ParameterExpression[] VisitParameters(IParameterProvider nodes, string callerName)
{
return null;
}
/// Visits all nodes in the collection using a specified element visitor.
/// The nodes to visit.
/// A delegate that visits a single element, optionally replacing it with a new element.
/// The type of the nodes.
/// The modified node list, if any of the elements were modified; otherwise, returns the original node list.
// Token: 0x0600041C RID: 1052 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041C")]
[Address(RVA = "0x1934010", Offset = "0x1932E10", VA = "0x181934010")]
public static ReadOnlyCollection Visit(ReadOnlyCollection nodes, Func elementVisitor)
{
return null;
}
/// Visits an expression, casting the result back to the original expression type.
/// The expression to visit.
/// The name of the calling method; used to report to report a better error message.
/// The type of the expression.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
/// The visit method for this node returned a different type.
// Token: 0x0600041D RID: 1053 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041D")]
[Address(RVA = "0x1297580", Offset = "0x1296380", VA = "0x181297580")]
public T VisitAndConvert(T node, string callerName) where T : Expression
{
return null;
}
/// Visits an expression, casting the result back to the original expression type.
/// The expression to visit.
/// The name of the calling method; used to report to report a better error message.
/// The type of the expression.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
/// The visit method for this node returned a different type.
// Token: 0x0600041E RID: 1054 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041E")]
[Address(RVA = "0x1933D30", Offset = "0x1932B30", VA = "0x181933D30")]
public ReadOnlyCollection VisitAndConvert(ReadOnlyCollection nodes, string callerName) where T : Expression
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600041F RID: 1055 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041F")]
[Address(RVA = "0x5B8B10", Offset = "0x5B7910", VA = "0x1805B8B10", Slot = "5")]
protected internal virtual Expression VisitBinary(BinaryExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000420 RID: 1056 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000420")]
[Address(RVA = "0x5B8D20", Offset = "0x5B7B20", VA = "0x1805B8D20", Slot = "6")]
protected internal virtual Expression VisitBlock(BlockExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000421 RID: 1057 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000421")]
[Address(RVA = "0x5B8EC0", Offset = "0x5B7CC0", VA = "0x1805B8EC0", Slot = "7")]
protected internal virtual Expression VisitConditional(ConditionalExpression node)
{
return null;
}
/// Visits the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000422 RID: 1058 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000422")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0", Slot = "8")]
protected internal virtual Expression VisitConstant(ConstantExpression node)
{
return null;
}
/// Visits the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000423 RID: 1059 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000423")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0", Slot = "9")]
protected internal virtual Expression VisitDefault(DefaultExpression node)
{
return null;
}
/// Visits the children of the extension expression.
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000424 RID: 1060 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000424")]
[Address(RVA = "0x53C0A0", Offset = "0x53AEA0", VA = "0x18053C0A0", Slot = "10")]
protected internal virtual Expression VisitExtension(Expression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000425 RID: 1061 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000425")]
[Address(RVA = "0x5B8F70", Offset = "0x5B7D70", VA = "0x1805B8F70", Slot = "11")]
protected internal virtual Expression VisitGoto(GotoExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000426 RID: 1062 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000426")]
[Address(RVA = "0x5B9140", Offset = "0x5B7F40", VA = "0x1805B9140", Slot = "12")]
protected internal virtual Expression VisitInvocation(InvocationExpression node)
{
return null;
}
/// Visits the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000427 RID: 1063 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000427")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0", Slot = "13")]
protected virtual LabelTarget VisitLabelTarget(LabelTarget node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000428 RID: 1064 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000428")]
[Address(RVA = "0x5B91D0", Offset = "0x5B7FD0", VA = "0x1805B91D0", Slot = "14")]
protected internal virtual Expression VisitLabel(LabelExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The type of the delegate.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000429 RID: 1065 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000429")]
[Address(RVA = "0x2174620", Offset = "0x2173420", VA = "0x182174620", Slot = "15")]
protected internal virtual Expression VisitLambda(Expression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042A RID: 1066 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042A")]
[Address(RVA = "0x5B9240", Offset = "0x5B8040", VA = "0x1805B9240", Slot = "16")]
protected internal virtual Expression VisitMember(MemberExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042B RID: 1067 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042B")]
[Address(RVA = "0x5B9060", Offset = "0x5B7E60", VA = "0x1805B9060", Slot = "17")]
protected internal virtual Expression VisitIndex(IndexExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042C RID: 1068 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042C")]
[Address(RVA = "0x5B9280", Offset = "0x5B8080", VA = "0x1805B9280", Slot = "18")]
protected internal virtual Expression VisitMethodCall(MethodCallExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042D RID: 1069 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042D")]
[Address(RVA = "0x5B9330", Offset = "0x5B8130", VA = "0x1805B9330", Slot = "19")]
protected internal virtual Expression VisitNewArray(NewArrayExpression node)
{
return null;
}
/// Visits the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042E RID: 1070 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042E")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0", Slot = "20")]
protected internal virtual Expression VisitParameter(ParameterExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x0600042F RID: 1071 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600042F")]
[Address(RVA = "0x5B8DF0", Offset = "0x5B7BF0", VA = "0x1805B8DF0", Slot = "21")]
protected virtual CatchBlock VisitCatchBlock(CatchBlock node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000430 RID: 1072 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000430")]
[Address(RVA = "0x5B9380", Offset = "0x5B8180", VA = "0x1805B9380", Slot = "22")]
protected internal virtual Expression VisitTry(TryExpression node)
{
return null;
}
/// Visits the children of the .
/// The expression to visit.
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
// Token: 0x06000431 RID: 1073 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000431")]
[Address(RVA = "0x5B94A0", Offset = "0x5B82A0", VA = "0x1805B94A0", Slot = "23")]
protected internal virtual Expression VisitUnary(UnaryExpression node)
{
return null;
}
// Token: 0x06000432 RID: 1074 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000432")]
[Address(RVA = "0x5B8A00", Offset = "0x5B7800", VA = "0x1805B8A00")]
private static UnaryExpression ValidateUnary(UnaryExpression before, UnaryExpression after)
{
return null;
}
// Token: 0x06000433 RID: 1075 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000433")]
[Address(RVA = "0x5B87D0", Offset = "0x5B75D0", VA = "0x1805B87D0")]
private static BinaryExpression ValidateBinary(BinaryExpression before, BinaryExpression after)
{
return null;
}
// Token: 0x06000434 RID: 1076 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000434")]
[Address(RVA = "0x5B8950", Offset = "0x5B7750", VA = "0x1805B8950")]
private static void ValidateChildType(Type before, Type after, string methodName)
{
}
}
}