Table of Contents

Method GetPosition

Namespace
Alternet.Editor.TypeScript
Assembly
Alternet.Editor.TypeScript.v10.dll

GetPosition(object, object, out Point, V8Parser)

Finds position in source code related to the specified syntax element.

public static bool GetPosition(object item, object document, out Point point, V8Parser parser)

Parameters

item object

Syntax element (class or method) to probe.

document object

Source code document.

point Point

Receives start point of given syntax element.

parser V8Parser

Parser process code.

Returns

bool

True if succeed; otherwise false.