Table of Contents

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 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.