ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import v8 from 'node:v8';
import fs from 'fs';
import path from 'path';
import { type Mapping, SourceMapGenerator } from 'source-map';
import ts from 'typescript';
import { pathToFileURL } from 'url';
import workerpool from 'workerpool';
import { StaticLanguageServiceHost } from './staticLanguageServiceHost.ts';
import * as buildfile from '../../buildfile.ts';
class
_keywords
_alphabet
_value
prefix
prefix
prefix prefix
isNameTaken name
candidate prefix ShortIdent_value
_value
ShortIdent_keywordscandidate candidate isNameTakencandidate
isNameTaken
candidate
n
base _alphabetlength
result
rest n base
result _alphabetrest
n n base
n
result
FieldType Object
Public
Protected
Private
FieldType FieldType
fields
replacements Map
parent ClassData
children ClassData
fileName
node tsClassDeclaration tsClassExpression
fileName
node tsClassDeclaration tsClassExpression
fileName fileName
node node
candidates tsNamedDeclaration
member nodemembers
tsmember
candidatesmember
tsmember
candidatesmember
tsmember
candidatesmember
tsmember
candidatesmember
tsmember
param memberparameters
param tsSyntaxKindPrivateKeyword
param tsSyntaxKindProtectedKeyword
param tsSyntaxKindPublicKeyword
param tsSyntaxKindReadonlyKeyword
candidatesparam
member candidates
ident ClassDatamember
ident
type ClassDatamember
fieldsident type pos membername
node tsNamedDeclaration
nodename
name node
ident name
namekind tsSyntaxKindComputedPropertyName
nameexpressionkind tsSyntaxKindStringLiteral
ident nameexpression
ident
node tsNode FieldType
node tsSyntaxKindPrivateKeyword
FieldTypePrivate
node tsSyntaxKindProtectedKeyword
FieldTypeProtected
FieldTypePublic
type FieldType
type FieldTypePrivate
type FieldTypeProtected
data ClassData name what why
name info datafields
infotype FieldTypePublic
parent ClassData dataparent
parent
parentfieldsnametype FieldTypeProtected
parentPos parentnodeparentfieldsnamepos
infoPos datanodeinfopos
name
parentfieldsnametype FieldTypePublic
parent parentparent
data ClassData
datareplacements
dataparent
ClassDatadataparent
datareplacements
name
dataname
parent ClassData dataparent
parent
parentname
parent parentparent
datachildren
stack datachildren
stacklength
node stack
nodename
nodechildren
stacknodechildren
identPool
name info datafields
ClassDatainfotype
shortName identPoolisNameTaken
datareplacementsname shortName
name
fieldsname ClassDatafieldsnametype
replacements
shortName replacements
shortName name
node name
name
value replacementsname
parent parent
parent
parentreplacementsname parentfieldsnametype FieldTypeProtected
value parentreplacementsname value
parent parentparent
value
child ClassData
children
childrenchild
childparent
identifiers Map
node tsNode name
identifiers nodeidentifiers
identifiers
identifiersname
skippedExportMangledFiles
buildfileworkerEditor
buildfileworkerExtensionHost
buildfileworkerNotebook
buildfileworkerLanguageDetection
buildfileworkerLocalFileSearch
buildfileworkerProfileAnalysis
buildfileworkerOutputLinks
buildfileworkerBackgroundTokenization
buildfileworkbenchDesktop
buildfileworkbenchWeb
buildfilesessionsWeb
buildfilecode
buildfilecodeWeb
x xname
skippedExportMangledProjects
skippedExportMangledSymbols
replacementName
fileName
node tsFunctionDeclaration tsClassDeclaration tsEnumDeclaration tsVariableDeclaration
fileName
node tsFunctionDeclaration tsClassDeclaration tsEnumDeclaration tsVariableDeclaration
fileIdents ShortIdent
fileName fileName
node node
replacementName fileIdents
service tsLanguageService Iterable fileName offset
tsnode
definitionResult servicefileName nodename
definitionResultdefinitions definitionResultdefinitionslength
definitionResultdefinitionsx fileName xfileName offset xtextSpanstart
fileName fileName
offset nodename
newName
currentName nodename
currentName skippedExportMangledSymbolscurrentName
newNamelength currentNamelength
node
out
sourceMap
allClassDataByKey
allExportedSymbols
renameWorkerPool workerpoolWorkerPool
projectPath
log log
config manglePrivateFields mangleExports
projectPath
log
config manglePrivateFields mangleExports
projectPath projectPath
log log
config config
renameWorkerPool workerpoolpathmetadirname
maxWorkers
minWorkers
strictImplicitPublicHandling Set Map MangleOutput
service ts projectPath
fileIdents
visit node tsNode
configmanglePrivateFields
tsnode tsnode
anchor nodename node
key
allClassDataByKeykey
allClassDataByKeykey nodefileName node
configmangleExports
node
node tsSyntaxKindExportKeyword
nodename
tsnode
tsnodeparent
node tsSyntaxKindExportKeyword
nodename nodebody
tsnode
nodeparentparent tsSyntaxKindExportKeyword
tsnodeparentparentparent
node
allExportedSymbols nodefileName node fileIdents
tsnode visit
file service
fileisDeclarationFile
tsfile visit
data ClassData
extendsClause datanodeheritageClausesh htoken tsSyntaxKindExtendsKeyword
extendsClause
info servicedatafileName extendsClausetypesexpression
info infolength
infolength
definition info
key
parent allClassDataByKeykey
parent
parentdata
data allClassDataByKey
data
violations
violationsCauseFailure
data allClassDataByKey
ClassDatadata name what why
arr violationswhat
arr
arrwhy
violationswhat why
strictImplicitPublicHandling strictImplicitPublicHandlingname
violationsCauseFailure
why whys violations
violationsCauseFailure
message
message
data allClassDataByKey
ClassDatadata
newText offset length
editsByFile
fileName edit Edit
edits editsByFilefileName
edits
editsByFilefileName edit
editsedit
newText loc tsRenameLocation
locfileName
newText locprefixText newText locsuffixText
offset loctextSpanstart
length loctextSpanlength
projectName fileName pos tsRenameLocation
renameResults newName locations tsRenameLocation
fileName pos newName
renameResultsrenameWorkerPool projectPath fileName pos
locations newName locations
data allClassDataByKey
datanode tsSyntaxKindDeclareKeyword
fields name info datafields
ClassDatainfotype
fields
parent dataparent
parent
parentfieldsnametype FieldTypePublic
fields
parent parentparent
newName dataname
datafileName infopos newName
data allExportedSymbols
datafileName
skippedExportMangledProjectsproj datafileNameproj
skippedExportMangledFilesfile datafileNamefile
datadatareplacementName
newText datareplacementName
fileName offset dataservice
fileName offset newText
renameResultsresult
newName locations result
loc locations
newName loc
renameWorkerPool
result
savedBytes
item service
mapRoot sourceRoot service
projectDir pathprojectPath
sourceMapRoot mapRoot sourceRoot projectDir
generator SourceMapGenerator
newFullText
edits editsByFileitemfileName
edits
newFullText item
relativeFileName pathprojectDir itemfileName
mappingsByLine
editsa b boffset aoffset
characters item
lastEdit Edit
edit edits
lastEdit lastEditoffset editoffset
lastEditlength editlength lastEditnewText editnewText
itemfileName editoffset edits
lastEdit edit
mangledName characterseditoffset editlength editnewText
savedBytes mangledNamelength editnewTextlength
pos itemeditoffset
mappings mappingsByLineposline
mappings
mappings
mappingsByLineposline mappings
mappings
source relativeFileName
original line posline column poscharacter
generated line posline column poscharacter
name mangledName
source relativeFileName
original line posline column poscharacter editlength
generated line posline column poscharacter editnewTextlength
generator file pathitemfileName sourceRoot sourceMapRoot
generatorrelativeFileName item
mappings mappingsByLine
lineDelta
mapping mappings
generator
mapping
generated line mappinggeneratedline column mappinggeneratedcolumn lineDelta
lineDelta mappingoriginalcolumn mappinggeneratedcolumn
newFullText characters
resultitemfileName out newFullText sourceMap generator
service
renameWorkerPool
result
node tsNode kind tsSyntaxKind
modifiers tsnode tsnode
modifiersmode modekind kind
node tsNode
p nodeparent p p pparent
tsp
path
path
root pathmetadirname
projectBase pathroot
projectPath pathprojectBase
newProjectBase pathpathprojectBase pathprojectBase
fsprojectBase newProjectBase recursive
mangler projectPath log
mangleExports
manglePrivateFields
fileName contents mangler
newFilePath pathnewProjectBase pathprojectBase fileName
fspromisespathnewFilePath recursive
fspromisesnewFilePath contentsout
contentssourceMap
fspromisesnewFilePath contentssourceMap
metamain