Logo Xantham

SessionlessExtensions Type

The snapshot-free half of `Api`, reached through `session.Sessionless`.

Static members

Static member Description

SessionlessExtensions.batchRequests (this, ?requests)

Full Usage: SessionlessExtensions.batchRequests (this, ?requests)

Parameters:
Returns: BatchRequestsResponse

SessionlessExtensions.createProgram (this, createProgramOptions, ?rootFiles, ?oldProgram, ?fileChanges)

Full Usage: SessionlessExtensions.createProgram (this, createProgramOptions, ?rootFiles, ?oldProgram, ?fileChanges)

Parameters:
Returns: CreateProgramResponse
this : SessionlessApi<TscChannel>
createProgramOptions : CreateProgramOptions
?rootFiles : DocumentIdentifier[]
?oldProgram : CreateProgramOldProgramParams
?fileChanges : APIFileChanges
Returns: CreateProgramResponse

SessionlessExtensions.initialize this

Full Usage: SessionlessExtensions.initialize this

Parameters:
Returns: InitializeResponse

SessionlessExtensions.parseCommandLine (this, ?commandLine)

Full Usage: SessionlessExtensions.parseCommandLine (this, ?commandLine)

Parameters:
Returns: ConfigFileResponse
this : SessionlessApi<TscChannel>
?commandLine : string[]
Returns: ConfigFileResponse

SessionlessExtensions.parseConfigFile (this, file)

Full Usage: SessionlessExtensions.parseConfigFile (this, file)

Parameters:
Returns: ConfigFileResponse

SessionlessExtensions.parseJsonConfigFileContent (this, ?json, ?configDirectory, ?configFileName)

Full Usage: SessionlessExtensions.parseJsonConfigFileContent (this, ?json, ?configDirectory, ?configFileName)

Parameters:
Returns: ConfigFileResponse
this : SessionlessApi<TscChannel>
?json : JsonNode
?configDirectory : string
?configFileName : DocumentIdentifier
Returns: ConfigFileResponse

SessionlessExtensions.printNode (this, data, ?preserveSourceNewlines, ?neverAsciiEscape, ?terminateUnterminatedLiterals)

Full Usage: SessionlessExtensions.printNode (this, data, ?preserveSourceNewlines, ?neverAsciiEscape, ?terminateUnterminatedLiterals)

Parameters:
    this : SessionlessApi<TscChannel>
    data : string
    ?preserveSourceNewlines : bool
    ?neverAsciiEscape : bool
    ?terminateUnterminatedLiterals : bool

Returns: string
this : SessionlessApi<TscChannel>
data : string
?preserveSourceNewlines : bool
?neverAsciiEscape : bool
?terminateUnterminatedLiterals : bool
Returns: string

SessionlessExtensions.readConfigFile (this, file)

Full Usage: SessionlessExtensions.readConfigFile (this, file)

Parameters:
Returns: ReadConfigFileResponse

SessionlessExtensions.saveHeapProfile (this, dir)

Full Usage: SessionlessExtensions.saveHeapProfile (this, dir)

Parameters:
Returns: ProfileResult
this : SessionlessApi<TscChannel>
dir : string
Returns: ProfileResult

SessionlessExtensions.startCPUProfile (this, dir)

Full Usage: SessionlessExtensions.startCPUProfile (this, dir)

Parameters:
this : SessionlessApi<TscChannel>
dir : string

SessionlessExtensions.stopCPUProfile this

Full Usage: SessionlessExtensions.stopCPUProfile this

Parameters:
Returns: ProfileResult

SessionlessExtensions.transpileDeclaration (this, input, options)

Full Usage: SessionlessExtensions.transpileDeclaration (this, input, options)

Parameters:
Returns: TranspileOutputResponse
this : SessionlessApi<TscChannel>
input : string
options : TranspileOptions
Returns: TranspileOutputResponse

SessionlessExtensions.transpileDeclarationFromFile (this, fileName, options)

Full Usage: SessionlessExtensions.transpileDeclarationFromFile (this, fileName, options)

Parameters:
Returns: TranspileOutputResponse
this : SessionlessApi<TscChannel>
fileName : string
options : TranspileOptions
Returns: TranspileOutputResponse

SessionlessExtensions.transpileModule (this, input, options)

Full Usage: SessionlessExtensions.transpileModule (this, input, options)

Parameters:
Returns: TranspileOutputResponse
this : SessionlessApi<TscChannel>
input : string
options : TranspileOptions
Returns: TranspileOutputResponse

SessionlessExtensions.transpileModuleFromFile (this, fileName, options)

Full Usage: SessionlessExtensions.transpileModuleFromFile (this, fileName, options)

Parameters:
Returns: TranspileOutputResponse
this : SessionlessApi<TscChannel>
fileName : string
options : TranspileOptions
Returns: TranspileOutputResponse

SessionlessExtensions.updateSnapshot (this, ?openProjects, ?closeProjects, ?fileChanges, ?openFiles, ?closeFiles)

Full Usage: SessionlessExtensions.updateSnapshot (this, ?openProjects, ?closeProjects, ?fileChanges, ?openFiles, ?closeFiles)

Parameters:
Returns: UpdateSnapshotResponse
this : SessionlessApi<TscChannel>
?openProjects : DocumentIdentifier[]
?closeProjects : DocumentIdentifier[]
?fileChanges : APIFileChanges
?openFiles : DocumentIdentifier[]
?closeFiles : DocumentIdentifier[]
Returns: UpdateSnapshotResponse

Type something to start searching.