Table of Contents

Method GetMemberType

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.v9.dll

GetMemberType(string, ISyntaxNode, ref string, ref Point, ref Point, out CodeCompletionScope)

When implemented by a class, obtains information about some language element to perform code completion related operations.

object GetMemberType(string text, ISyntaxNode node, ref string name, ref Point position, ref Point endPos, out CodeCompletionScope scope)

Parameters

text string

Specifies source text.

node ISyntaxNode

Specifies ISyntaxNode representing current language element.

name string

Retrieves name of found language element.

position Point

Specifies position of found language element in the code text and updates it if needed.

endPos Point

Specifies end position of found language element in the code text and updates it if needed.

scope CodeCompletionScope

Retrieves 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)

When implemented by a class, obtains information about a member of some language element.

object GetMemberType(ISyntaxNode node, Point position, object member, string name, out CodeCompletionScope scope)

Parameters

node ISyntaxNode

Specifies ISyntaxNode representing a current language element.

position Point

Specifies position of language element.

member object

Specifies language element.

name string

Specifies name of the member to locate.

scope CodeCompletionScope

Retrieves information about search constraints for this language element.

Returns

object

Object representing information about found member.