Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
LanguageServiceShim
Class LanguageServiceShim
Hierarchy
ShimBase
LanguageServiceShim
Index
Constructor methods
constructor
Properties
host
languageService
logger
Methods
_navigateToItemsToString
cleanupSemanticCache
dispose
forwardJSONCall
getBraceMatchingAtPosition
getBreakpointStatementAtPosition
getCompilerOptionsDiagnostics
getCompletionEntryDetails
getCompletionsAtPosition
getDefinitionAtPosition
getEmitOutput
getFormattingEditsAfterKeystroke
getFormattingEditsForDocument
getFormattingEditsForRange
getFormattingEditsOnPaste
getImplementorsAtPosition
getIndentationAtPosition
getNameOrDottedNameSpan
getNavigateToItems
getOccurrencesAtPosition
getOutliningRegions
getReferencesAtPosition
getScriptLexicalStructure
getSemanticDiagnostics
getSignatureAtPosition
getSyntacticDiagnostics
getTypeAtPosition
realizeDiagnostic
realizeDiagnosticCategory
realizeDiagnosticWithFileName
refresh
Constructor methods
constructor
(
factory
:
IShimFactory
, host
:
ILanguageServiceShimHost
, languageService
:
ILanguageService
)
:
LanguageServiceShim
Parameters
factory:
IShimFactory
host:
ILanguageServiceShimHost
languageService:
ILanguageService
Returns
LanguageServiceShim
Properties
private
host
:
any
public
languageService
:
ILanguageService
private
logger
:
any
Methods
private
_navigateToItemsToString
(
items
:
any
)
:
any
Parameters
items:
any
Returns
any
public
cleanupSemanticCache
(
)
public
dispose
(
dummy
:
any
)
Parameters
dummy:
any
public
forwardJSONCall
(
actionDescription
:
string
, action
:
() => any
)
:
string
Parameters
actionDescription:
string
action:
() => any
Returns
string
public
getBraceMatchingAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getBreakpointStatementAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getCompilerOptionsDiagnostics
(
)
:
string
Returns
string
public
getCompletionEntryDetails
(
fileName
:
string
, position
:
number
, entryName
:
string
)
:
string
Parameters
fileName:
string
position:
number
entryName:
string
Returns
string
public
getCompletionsAtPosition
(
fileName
:
string
, position
:
number
, isMemberCompletion
:
boolean
)
:
string
Parameters
fileName:
string
position:
number
isMemberCompletion:
boolean
Returns
string
public
getDefinitionAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getEmitOutput
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
public
getFormattingEditsAfterKeystroke
(
fileName
:
string
, position
:
number
, key
:
string
, options
:
string
)
:
string
Parameters
fileName:
string
position:
number
key:
string
options:
string
Returns
string
public
getFormattingEditsForDocument
(
fileName
:
string
, minChar
:
number
, limChar
:
number
, options
:
string
)
:
string
Parameters
fileName:
string
minChar:
number
limChar:
number
options:
string
Returns
string
public
getFormattingEditsForRange
(
fileName
:
string
, minChar
:
number
, limChar
:
number
, options
:
string
)
:
string
Parameters
fileName:
string
minChar:
number
limChar:
number
options:
string
Returns
string
public
getFormattingEditsOnPaste
(
fileName
:
string
, minChar
:
number
, limChar
:
number
, options
:
string
)
:
string
Parameters
fileName:
string
minChar:
number
limChar:
number
options:
string
Returns
string
public
getImplementorsAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getIndentationAtPosition
(
fileName
:
string
, position
:
number
, options
:
string
)
:
string
Parameters
fileName:
string
position:
number
options:
string
Returns
string
public
getNameOrDottedNameSpan
(
fileName
:
string
, startPos
:
number
, endPos
:
number
)
:
string
Parameters
fileName:
string
startPos:
number
endPos:
number
Returns
string
public
getNavigateToItems
(
searchValue
:
string
)
:
string
Parameters
searchValue:
string
Returns
string
public
getOccurrencesAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getOutliningRegions
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
public
getReferencesAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getScriptLexicalStructure
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
public
getSemanticDiagnostics
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
public
getSignatureAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
public
getSyntacticDiagnostics
(
fileName
:
string
)
:
string
Parameters
fileName:
string
Returns
string
public
getTypeAtPosition
(
fileName
:
string
, position
:
number
)
:
string
Parameters
fileName:
string
position:
number
Returns
string
private
static
realizeDiagnostic
(
diagnostic
:
any
)
:
any
Parameters
diagnostic:
any
Returns
any
private
static
realizeDiagnosticCategory
(
category
:
any
)
:
any
Parameters
category:
any
Returns
any
private
realizeDiagnosticWithFileName
(
diagnostic
:
any
)
:
any
Parameters
diagnostic:
any
Returns
any
public
refresh
(
throwOnError
:
boolean
)
Parameters
throwOnError:
boolean
Globals
TypeScript
TypeScript.ASTHelpers
TypeScript.BitMatrix
TypeScript.BitVector
TypeScript.Collections
TypeScript.CompilerDiagnostics
TypeScript.DeclarationCreator
TypeScript.Indentation
TypeScript.IntegerUtilities
TypeScript.LineMap1
TypeScript.Parser
TypeScript.PullHelpers
TypeScript.PullInstantiationHelpers
TypeScript.ScriptSnapshot
TypeScript.Services
TypeScript.Services.Breakpoints
TypeScript.Services.Formatting
TypeScript.Services.Formatting.Shared
TypeScript.SimpleText
TypeScript.Syntax
TypeScript.SyntaxFacts
TypeScript.TextFactory
TypeScript.TextUtilities
typescript-services
EndOfLineState
TokenClass
CachedCompletionEntryDetails
CompletionEntry
CompletionEntryDetails
IClassifierHost
ICoreServicesHost
ILanguageService
ILanguageServiceHost
ILanguageServiceShim
ILanguageServiceShimHost
ILanguageServicesDiagnostics
IPartiallyWrittenTypeArgumentListInformation
IScriptSnapshotShim
IShim
IShimFactory
ActualSignatureInfo
BraceMatcher
ClassificationInfo
ClassificationResult
Classifier
ClassifierShim
CompletionHelpers
CompletionInfo
CompletionSession
CoreServices
CoreServicesShim
DeclReferenceCompletionEntry
DefinitionInfo
DiagnosticCategory
EditorOptions
FindReferenceHelpers
FormalParameterInfo
FormalSignatureItemInfo
FormalTypeParameterInfo
FormatCodeOptions
GetScriptLexicalStructureWalker
Indenter
KeywordCompletions
LanguageService
LanguageServiceCompiler
LanguageServiceShim
constructor
host
languageService
logger
_navigateToItemsToString
cleanupSemanticCache
dispose
forwardJSONCall
getBraceMatchingAtPosition
getBreakpointStatementAtPosition
getCompilerOptionsDiagnostics
getCompletionEntryDetails
getCompletionsAtPosition
getDefinitionAtPosition
getEmitOutput
getFormattingEditsAfterKeystroke
getFormattingEditsForDocument
getFormattingEditsForRange
getFormattingEditsOnPaste
getImplementorsAtPosition
getIndentationAtPosition
getNameOrDottedNameSpan
getNavigateToItems
getOccurrencesAtPosition
getOutliningRegions
getReferencesAtPosition
getScriptLexicalStructure
getSemanticDiagnostics
getSignatureAtPosition
getSyntacticDiagnostics
getTypeAtPosition
realizeDiagnostic
realizeDiagnosticCategory
realizeDiagnosticWithFileName
refresh
LanguageServiceShimHostAdapter
MatchKind
NavigateToItem
OutliningElementsCollector
ReferenceEntry
ResolvedCompletionEntry
ScriptElementKind
ScriptElementKindModifier
ShimBase
SignatureInfo
SignatureInfoHelpers
SpanInfo
SyntaxTreeCache
TextEdit
TypeInfo
TypeScriptServicesFactory
copyDataObject
forwardJSONCall
logInternalError
simpleForwardCall