Method IsDeclarationNode
- Namespace
 - Alternet.Syntax.CodeCompletion
 
- Assembly
 - Alternet.Syntax.Parsers.Advanced.v10.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 virtual bool IsDeclarationNode(ref ISyntaxNode node, bool checkRegions)
Parameters
nodeISyntaxNodeSpecifies
ISyntaxNodeto check-up.checkRegionsboolIndicates that region nodes should be skipped.
Returns
- bool
 True if specified node is declaration node; otherwise false.
IsDeclarationNode(ISyntaxNode)
Indicates whether specified node is a declaration node (contains declaration of some syntax structure, such as class, namespace and so on).
public virtual bool IsDeclarationNode(ISyntaxNode node)
Parameters
nodeISyntaxNodeSpecifies
ISyntaxNodeto check-up.
Returns
- bool
 True if specified node is declaration node; otherwise false.