Table of Contents

Method IsDeclarationNode

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

IsDeclarationNode(ref ISyntaxNode, bool)

Indicates whether specified node is a declaration node (contains declaration of some syntax structure, such as class, namespace and so on).

public override bool IsDeclarationNode(ref ISyntaxNode node, bool checkRegions)

Parameters

node ISyntaxNode

Specifies ISyntaxNode to check-up.

checkRegions bool

Indicates that region nodes should be skipped.

Returns

bool

True if specified node is declaration node; otherwise false.