Table of Contents

Method HasAsParent

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

HasAsParent(ISyntaxNode)

Indicates whether the node has specified node as a parent node.

public virtual 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.