Table of Contents

Method GetInvocationNode

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

GetInvocationNode(string, ISyntaxNode, Point, out int, out int)

Retrieves invocation node at specified position.

public static ISyntaxNode GetInvocationNode(string text, ISyntaxNode node, Point position, out int paramIndex, out int paramCount)

Parameters

text string

Text at specified position.

node ISyntaxNode

Specifies node that contains invocation node.

position Point

Specifies position to check-up.

paramIndex int

Retrieves index of current parameter in the parameter list of invocation node.

paramCount int

Retrieves number of the parameters of invocation node.

Returns

ISyntaxNode

ISyntaxNode node representing method invocation.