Interface ITypeScriptRepository
- Namespace
- Alternet.Syntax.Parsers.TypeScript
- Assembly
- Alternet.Syntax.Parsers.TypeScript.v9.dll
Represents properties and methods to perform code completion functionality for TypeScript code.
public interface ITypeScriptRepository : ICodeCompletionRepository, IDisposable
Properties
- DefaultExtension
When implemented by a class, gets or sets default extension associated with this repository.
- FileName
When implemented by a class, gets or sets file name of the file being parsed.
- Parser
When implemented by a class, gets a V8Parser that provides syntax analysis for TypeScript document.
- Project
When implemented by a class, gets a ITypeScriptProject that contains document being parsed.
Methods
- FillCodeFixes(IEnumerable<ICodeFix>, ICodeActionItems)
When implemented by a class, fills codefix provider with list of available code fixes.
- FillCodeRefactors(IEnumerable<ICodeRefactor>, ICodeActionItems)
When implemented by a class, fills codefix provider with list of available code fixes.
- FillMembers(IEnumerable<CompletionEntry>, IListMembers, Point, out int)
When implemented by a class, fills a provider with the members, providing available choices for the specified language element.
- FillParameterInfo(SignatureHelpItems, IListMembers, Point)
When implemented by a class, fills a provider with the parameter info members.
- FindDeclarations(Point)
When implemented by a class, locates all declarations at given position in the text.
- FindReferences(Point)
When implemented by a class, locates all references at given position in the text.
- GetApplicableRefactors(Point, Point)
When implemented by a class, gets applicable refactors at the given text range.
- GetBreakpointStatementAtPosition(Point)
When implemented by a class, gets breakpoint statement range at pecified position.
- GetClassifications()
When implemented by a class, gets a list of ClassifiedSpan for the document.
- GetClassifications(int, int)
When implemented by a class, gets list of classificators for the given document.
- GetCodeFixesAtPosition(ISyntaxError)
When implemented by a class, gets code fix at syntax error position.
- GetCompletionsAtPosition(Point)
When implemented by a class, gets the completions available at the caret position.
- GetDiagnostics()
When implemented by a class, gets a list of Diagnostic for the document.
- GetDocCommentTemplateAtPosition(Point)
When implemented by a class, gets the documentation comment template available at the caret position.
- GetDocumentText(string)
When implemented by a class, gets text of the specified document.
- GetFormattingEditsAfterKeystroke(int, string, bool, int, bool, out string)
When implemented by a class, gets the text changes for the part of document accordingly to the formatting rules.
- GetFormattingEditsForRange(int, int, bool, int, bool, out string)
When implemented by a class, gets the text changes for the part of document accordingly to the formatting rules.
- GetIndentationAtPosition(Point, bool, int)
When implemented by a class, gets line indentation at specified position.
- GetLineAndCharacterOfPosition(int)
When implemented by a class, converts given absolute text coordinate into Point position.
- GetOccurrencesAtPosition(Point)
When implemented by a class, locates all occurrences at given position in the text.
- GetOutliningSpans()
When implemented by a class, gets a list of OutliningSpan for the document.
- GetPositionOfLineAndCharacter(Point)
When implemented by a class, converts given position into absolute text coordinate.
- GetQuickInfoAtPosition(Point)
When implemented by a class, gets the quick info available at the caret position.
- GetQuickInfoAtPosition(int)
When implemented by a class, gets the quick info available at the caret position.
- GetReferencesAtPosition(Point)
When implemented by a class, locates all references at given position in the text.
- GetSignatureHelpItems(Point)
When implemented by a class, gets the signature help items available at the caret position.
- GetSmartFormatSymbol(int)
When implemented by a class, gets smart format node under a given position.
- GetStructureGuideNode()
When implemented by a class, gets structure nodes.
- GetSyntaxTree()
When implemented by a class, gets the syntax tree for the parsed document.
- GetTextChangesForRefactor(ICodeRefactor)
When implemented by a class, gets text changes for the code refactor.
- HasDocument(string)
When implemented by a class, indicates whether TypeScript project has document specified.
- IsValidBraceCompletionAtPosition(Point, char, out char)
When implemented by a class, determines if close brace code completion is expected.
- QuickInfo(Point)
When implemented by a class, gets the quick info available at the caret position.
- RegisterCodeFiles(string[])
When implemented by a class, makes types declared in given source files accessible for code completion.
- RemoveDocument(string)
When implemented by a class, removes specified document from the project.
- ReplaceDocument(string, string)
When implemented by a class, updates source code document to have the text specified.
- UnregisterCodeFiles(string[])
When implemented by a class, removes types declared in given source files from being accessible code completion.
Events
- CustomFormattingOptions
When implemented by a class, occurs while trying to obtains information about formatting options related to the document.