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 { CharCode } from '../../../../base/common/charCode.js';
import { buildReplaceStringWithCasePreserved } from '../../../../base/common/search.js';
const enum ReplacePatternKind {
StaticValue = 0,
DynamicPieces = 1
}
/**
* Assigned when the replace pattern is entirely static.
*/
class StaticValueReplacePattern {
public readonly kind = ReplacePatternKind.StaticValue;
constructor(public readonly staticValue: string) { }
}
/**
* Assigned when the replace pattern has replacement patterns.
*/
class DynamicPiecesReplacePattern {
kind ReplacePatternKindDynamicPieces
pieces ReplacePiece
value ReplacePattern
ReplacePiecevalue
_state StaticValueReplacePattern DynamicPiecesReplacePattern
_statekind ReplacePatternKindDynamicPieces
pieces ReplacePiece
pieces pieceslength
_state
pieceslength piecesstaticValue
_state piecesstaticValue
_state pieces
matches preserveCase
_statekind ReplacePatternKindStaticValue
preserveCase
matches _statestaticValue
_statestaticValue
result
i len _statepieceslength i len i
piece _statepiecesi
piecestaticValue
result piecestaticValue
match ReplacePatternpiecematchIndex matches
piececaseOps piececaseOpslength
repl
lenOps piececaseOpslength
opIdx
idx len matchlength idx len idx
opIdx lenOps
replmatchidx
piececaseOpsopIdx
replmatchidx
replmatchidx
opIdx
replmatchidx
replmatchidx
opIdx
replmatchidx
match repl
result match
result
matchIndex matches
matches
matchIndex
matches
remainder
matchIndex
matchIndex matcheslength
match matchesmatchIndex
match remainder
remainder matchIndex remainder
matchIndex MathmatchIndex
remainder
value ReplacePiece
value
index ReplacePiece
index
index caseOps ReplacePiece
index caseOps
staticValue
matchIndex
caseOps
staticValue matchIndex caseOps
staticValue staticValue
matchIndex matchIndex
caseOps caseOpslength
caseOps
caseOps caseOps
_source
_lastCharIndex
_result ReplacePiece
_resultLen
_currentStaticPiece
source
_source source
_lastCharIndex
_result
_resultLen
_currentStaticPiece
toCharIndex
_source_lastCharIndex toCharIndex
_lastCharIndex toCharIndex
value toCharIndex
value
_lastCharIndex toCharIndex
value
valuelength
_currentStaticPiece value
index toCharIndex caseOps
_currentStaticPiecelength
_result_resultLen ReplacePiece_currentStaticPiece
_currentStaticPiece
_result_resultLen ReplacePieceindex caseOps
_lastCharIndex toCharIndex
ReplacePattern
_sourcelength
_currentStaticPiecelength
_result_resultLen ReplacePiece_currentStaticPiece
_currentStaticPiece
_result
replaceString ReplacePattern
replaceString replaceStringlength
caseOps
result replaceString
i len replaceStringlength i len i
chCode replaceStringi
chCode CharCodeBackslash
i
i len
nextChCode replaceStringi
nextChCode
CharCodeBackslash
resulti
result i
CharCoden
resulti
result i
CharCodet
resulti
result i
CharCodeu
CharCode
CharCodel
CharCode
resulti
result i
caseOpsStringnextChCode
chCode CharCodeDollarSign
i
i len
nextChCode replaceStringi
nextChCode CharCodeDollarSign
resulti
result i
nextChCode CharCodeDigit0 nextChCode CharCodeAmpersand
resulti
result i caseOps
caseOpslength
CharCodeDigit1 nextChCode nextChCode CharCodeDigit9
matchIndex nextChCode CharCodeDigit0
i len
nextNextChCode replaceStringi
CharCodeDigit0 nextNextChCode nextNextChCode CharCodeDigit9
i
matchIndex matchIndex nextNextChCode CharCodeDigit0
resulti
resultmatchIndex i caseOps
caseOpslength
resulti
resultmatchIndex i caseOps
caseOpslength
result