Method GetBlockOrMethodNode
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Advanced.v9.dll
GetBlockOrMethodNode(ISyntaxNode)
Retrieves block or method node nearest to specified node.
public static ISyntaxNode GetBlockOrMethodNode(ISyntaxNode node)
Parameters
node
ISyntaxNodeSpecifies node to check-up.
Returns
- ISyntaxNode
ISyntaxNode
node representing block or method.