Table of Contents

Method HasAsParent

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

HasAsParent(ISyntaxNode)

When implemented by a class, indicates whether the node has specified node as a parent node.

bool HasAsParent(ISyntaxNode node)

Parameters

node ISyntaxNode

Node to test.

Returns

bool

True if node or one of its parents has a given node as a parent; otherwise false.