Method GetMemberType
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v10.dll
GetMemberType(string, ISyntaxNode, ref string, ref Point, ref Point, out CodeCompletionScope)
Obtains information about some language element to perform code completion related operations.
public virtual object GetMemberType(string text, ISyntaxNode node, ref string name, ref Point position, ref Point endPos, out CodeCompletionScope scope)
Parameters
textstringSpecifies source text.
nodeISyntaxNodeSpecifies
ISyntaxNoderepresenting current language element.namestringRetrieves name of found language element.
positionPointSpecifies position of found language element in the code text and updates it if needed.
endPosPointSpecifies end position of found language element in the code text and updates it if needed.
scopeCodeCompletionScopeRetrieves information about search constraints for the language element.
Returns
- object
Object representing information about language element to complete.
GetMemberType(ISyntaxNode, Point, object, string, out CodeCompletionScope)
Obtains information about a member of some language element.
public virtual object GetMemberType(ISyntaxNode node, Point position, object member, string name, out CodeCompletionScope scope)
Parameters
nodeISyntaxNodeSpecifies
ISyntaxNoderepresenting a current language element.positionPointSpecifies position of language element.
memberobjectSpecifies language element.
namestringSpecifies name of the member to locate.
scopeCodeCompletionScopeRetrieves information about search constraints for this language element.
Returns
- object
Object representing information about found member.