Method GetMemberType
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Advanced.v9.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 override object GetMemberType(string text, ISyntaxNode node, ref string name, ref Point position, ref Point endPos, out CodeCompletionScope scope)
Parameters
text
stringSpecifies source text.
node
ISyntaxNodeSpecifies
ISyntaxNode
representing current language element.name
stringRetrieves name of found language element.
position
PointSpecifies position of found language element in the code text and updates it if needed.
endPos
PointSpecifies end position of found language element in the code text and updates it if needed.
scope
CodeCompletionScopeRetrieves 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 override object GetMemberType(ISyntaxNode node, Point position, object member, string name, out CodeCompletionScope scope)
Parameters
node
ISyntaxNodeSpecifies
ISyntaxNode
representing a current language element.position
PointSpecifies position of language element.
member
objectSpecifies language element.
name
stringSpecifies name of the member to locate.
scope
CodeCompletionScopeRetrieves information about search constraints for this language element.
Returns
- object
Object representing information about found member.