Table of Contents

Interface INode

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

AST node that supports pattern matching.

public interface INode
Extension Methods

Properties

FirstChild

INode FirstChild { get; }

Property Value

INode

IsNull

bool IsNull { get; }

Property Value

bool

NextSibling

INode NextSibling { get; }

Property Value

INode

Role

Role Role { get; }

Property Value

Role

Methods

DoMatch(INode, Match)

bool DoMatch(INode other, Match match)

Parameters

other INode
match Match

Returns

bool

DoMatchCollection(Role, INode, Match, BacktrackingInfo)

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

Parameters

role Role
pos INode
match Match
backtrackingInfo BacktrackingInfo

Returns

bool