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 virtual bool IsDeclarationNode(ref ISyntaxNode node, bool checkRegions)
Parameters
node
ISyntaxNodeSpecifies
ISyntaxNode
to check-up.checkRegions
boolIndicates 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
node
ISyntaxNodeSpecifies
ISyntaxNode
to check-up.
Returns
- bool
True if specified node is declaration node; otherwise false.