Method GetMethodType
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Advanced.v10.dll
GetMethodType(string, ISyntaxNode, ref string, ref Point, ref Point, out int, out int, out CodeCompletionScope)
Obtains information about some method of specified language element.
public override object GetMethodType(string text, ISyntaxNode node, ref string name, ref Point position, ref Point endPos, out int paramIndex, out int paramCount, out CodeCompletionScope scope)
Parameters
textstringSpecifies source text.
nodeISyntaxNodeSpecifies
ISyntaxNoderepresenting current language element.namestringRetrieves name of found method.
positionPointRetrieves start position of the method in the code text.
endPosPointRetrieves end position of the method in the code text.
paramIndexintRetrieves index of current parameter in the code text.
paramCountintRetrieves number of the parameters.
scopeCodeCompletionScopeRetrieves information about search constraints for the language element.
Returns
- object
Object representing information about found method.