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
stringText at specified position.
node
ISyntaxNodeSpecifies node that contains invocation node.
position
PointSpecifies position to check-up.
paramIndex
intRetrieves index of current parameter in the parameter list of invocation node.
paramCount
intRetrieves number of the parameters of invocation node.
Returns
- ISyntaxNode
ISyntaxNode
node representing method invocation.