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
objectSyntax element (class or method) to probe.
document
objectSource code document.
point
PointReceives start point of given syntax element.
parser
V8ParserParser process code.
Returns
- bool
True if succeed; otherwise false.