Table of Contents

Class Repeat

Namespace
ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
Assembly
ICSharpCode.Decompiler.dll

Represents an optional node.

public class Repeat : Pattern, INode
Inheritance
Repeat
Implements
Inherited Members
Extension Methods

Constructors

Repeat(INode)

public Repeat(INode childNode)

Parameters

childNode INode

Properties

ChildNode

public INode ChildNode { get; }

Property Value

INode

MaxCount

public int MaxCount { get; set; }

Property Value

int

MinCount

public int MinCount { get; set; }

Property Value

int

Methods

DoMatch(INode, Match)

public override bool DoMatch(INode other, Match match)

Parameters

other INode
match Match

Returns

bool

DoMatchCollection(Role, INode, Match, BacktrackingInfo)

public override bool DoMatchCollection(Role role, INode pos, Match match, BacktrackingInfo backtrackingInfo)

Parameters

role Role
pos INode
match Match
backtrackingInfo BacktrackingInfo

Returns

bool