Table of Contents

Class V8Parser

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

Represents properties and methods to perform syntax analysis of the TypeScript code.

public class V8Parser : IDisposable
Inheritance
V8Parser
Implements

Constructors

V8Parser(ITypeDefinitionsLocator, Func<HostItemsConfiguration>)

Initializes a new instance of the V8Parser class with specified parameters.

Methods

CreateChecker(string[], FormatCodeOptions, ScriptKind)

Creates symbol checker for the document collection.

Dispose()

Disposes resources allocated by the V8Parser class.

Dispose(bool)
~V8Parser()

Destroys the instance of the V8Parser class.

FindReferences(string, Point)

Gets list of symbol references at the specified position.

GenerateDocumentation(string[], FormatCodeOptions)
GetAllDocuments()

Gets all documents from the document collection.

GetApplicableRefactors(string, Point, Point)
GetBreakpointStatementAtPosition(string, Point)
GetClassifications(string)

Gets list of classificators for the given document.

GetClassifications(string, int, int)

Gets list of classificators for the given document.

GetCodeFixesAtPosition(string, Point, Point, int)
GetCompletionEntryDetails(string, Point, string)

Gets detailed completion information for specified code completion entry.

GetCompletionsAtPosition(string, Point)

Gets list of code completion entries at specified position.

GetDefaultFormatCodeOptions()

Gets default formating options.

GetDefinitionAtPosition(string, Point)

Gets list of definitions for the symbol at the specified parameters.

GetDefinitionAtPosition(string, int)

Gets list of definitions for the symbol at the specified parameters.

GetDiagnostics(string)

Gets list of syntax errors and warnings from the specified document.

GetDocCommentTemplateAtPosition(string, Point)

Gets documentation template at specified position.

GetDocumentText(string)

Gets text content of the specified document.

GetEditsForRefactor(string, Point, Point, string, string)
GetFormattingEditsAfterKeystroke(string, int, string, FormatCodeOptions)

Gets list of TextChange between specified document and previous version of the same document.

GetFormattingEditsForDocument(string)

Gets list of changes between specified document and previous version of the same document.

GetFormattingEditsForDocument(string, FormatCodeOptions)

Gets list of changes between specified document and previous version of the same document.

GetFormattingEditsForRange(string, int, int)

Gets list of changes between specified document and previous version of the same document.

GetFormattingEditsForRange(string, int, int, FormatCodeOptions)

Gets list of changes between specified document and previous version of the same document.

GetFormattingEditsImplementation(string, Func<dynamic>)

Gets list of TextChange between specified document and previous version of the same document.

GetIndentationAtPosition(string, Point)

Gets line indentation at specified position.

GetIndentationAtPosition(string, Point, FormatCodeOptions)

Gets line indentation at specified position.

GetLineAndCharacterOfPosition(string, int)

Converts given position into (row, column) coordinate.

GetNavigationBarItems(string)
GetNavigationBarItemsAsync(string)
GetNavigationTree(string)
GetNavigationTreeAsync(string)
GetOccurrencesAtPosition(string, Point)
GetOutliningSpans(string)

Gets list of outlining spans from specified document.

GetPositionOfLineAndCharacter(string, Point)

Converts given position into absolute text coordinates.

GetQuickInfoAtPosition(string, Point)

Gets QuickInfo describing the symbol at given position.

GetQuickInfoAtPosition(string, int)

Gets QuickInfo describing the symbol at given position.

GetReferencesAtPosition(string, Point)

Gets list of symbol references at the specified position.

GetSignatureHelpItems(string, Point)

Gets list of method signatures at the given position.

GetSmartFormatSymbol(string, int)
GetStructureGuideNode(string)
GetSyntaxTree(string)

Gets the syntax tree representation of the specified document.

GetSyntaxTreeData(string)
GetText(string)

Gets the text content of the specified document.

HasDocument(string)

Indicates whether document collection contains specified document.

IsValidBraceCompletionAtPosition(string, Point, char)

Determines if close brace code completion is expected.

RemoveAllDocuments()

Removes all documents in the document collection.

RemoveDocument(string)

Removes specified document from the document collection..

ReparseAllDocuments()

Reparses all documents in the document collection.

ReplaceDocument(string, string, ScriptKind)

Updates source code document with the text specified.