Method GetInvocationNode
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Advanced.v10.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
textstringText at specified position.
nodeISyntaxNodeSpecifies node that contains invocation node.
positionPointSpecifies position to check-up.
paramIndexintRetrieves index of current parameter in the parameter list of invocation node.
paramCountintRetrieves number of the parameters of invocation node.
Returns
- ISyntaxNode
ISyntaxNodenode representing method invocation.