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
MaxCount
public int MaxCount { get; set; }
Property Value
MinCount
public int MinCount { get; set; }
Property Value
Methods
DoMatch(INode, Match)
public override bool DoMatch(INode other, Match match)
Parameters
Returns
DoMatchCollection(Role, INode, Match, BacktrackingInfo)
public override bool DoMatchCollection(Role role, INode pos, Match match, BacktrackingInfo backtrackingInfo)
Parameters
role
Rolepos
INodematch
MatchbacktrackingInfo
BacktrackingInfo