Table of Contents

Class RecursivePatternExpression

Namespace
ICSharpCode.Decompiler.CSharp.Syntax
Assembly
ICSharpCode.Decompiler.dll
public class RecursivePatternExpression : Expression, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
RecursivePatternExpression
Implements
Inherited Members
Extension Methods

Constructors

RecursivePatternExpression()

public RecursivePatternExpression()

Fields

SubPatternRole

public static readonly Role<Expression> SubPatternRole

Field Value

Role<Expression>

Properties

Designation

public VariableDesignation Designation { get; set; }

Property Value

VariableDesignation

IsPositional

public bool IsPositional { get; set; }

Property Value

bool

SubPatterns

public AstNodeCollection<Expression> SubPatterns { get; }

Property Value

AstNodeCollection<Expression>

Type

public AstType Type { get; set; }

Property Value

AstType

Methods

AcceptVisitor(IAstVisitor)

public override void AcceptVisitor(IAstVisitor visitor)

Parameters

visitor IAstVisitor

AcceptVisitor<T>(IAstVisitor<T>)

public override T AcceptVisitor<T>(IAstVisitor<T> visitor)

Parameters

visitor IAstVisitor<T>

Returns

T

Type Parameters

T

AcceptVisitor<T, S>(IAstVisitor<T, S>, T)

public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)

Parameters

visitor IAstVisitor<T, S>
data T

Returns

S

Type Parameters

T
S

DoMatch(AstNode, Match)

protected override bool DoMatch(AstNode other, Match match)

Parameters

other AstNode
match Match

Returns

bool