Table of Contents

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 ISyntaxNode

Specifies node to check-up.

Returns

ISyntaxNode

ISyntaxNode node representing block or method.