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 * as strings from '../../../../base/common/strings.js';
import { IPatternInfo } from './search.js';
import { CharCode } from '../../../../base/common/charCode.js';
import { buildReplaceStringWithCasePreserved } from '../../../../base/common/search.js';
export class ReplacePattern {
private _replacePattern: string;
private _hasParameters: boolean = false;
private _regExp: RegExp;
private _caseOpsRegExp: RegExp;
constructor(replaceString searchPatternInfo IPatternInfo
replaceString parseParameters regEx RegExp
replaceString arg2 arg3
_replacePattern replaceString
searchPatternInfo IPatternInfo
parseParameters
arg2
parseParameters arg2
_regExp arg3
searchPatternInfo arg2
parseParameters searchPatternInfoisRegExp
_regExp stringssearchPatternInfopattern searchPatternInfoisRegExp matchCase searchPatternInfoisCaseSensitive wholeWord searchPatternInfoisWordMatch multiline searchPatternInfoisMultiline global unicode
parseParameters
replaceString
_regExpglobal
_regExp strings_regExpsource matchCase _regExpignoreCase wholeWord multiline _regExpmultiline global
_caseOpsRegExp
_hasParameters
_replacePattern
RegExp
_regExp
text preserveCase
_regExplastIndex
match _regExptext
match
hasParameters
replaceString text _regExp match preserveCase
match text
replaceString
replaceStringmatchindex matchlength textlength replaceStringlength
match preserveCase
text regex RegExp replaceString
replaceString
textregex replaceString
firstMatch regextext
firstMatch
textregex replaceString
patMatch RegExpExecArray
newReplaceString
lastIndex
lastMatch
patMatch _caseOpsRegExpreplaceString
lastIndex patMatchindex
fullMatch patMatch
lastMatch fullMatch
caseOps patMatch
money patMatch
caseOps
newReplaceString fullMatch
replacement firstMatchmoney
replacement
newReplaceString fullMatch
replacementLen replacementlength
newReplaceString patMatch
caseOps caseOps
i
i caseOpslength i
caseOpsi
newReplaceString replacementi
i replacementLen
newReplaceString replacementi
newReplaceString replacementi
i replacementLen
newReplaceString replacementi
i replacementLen
newReplaceString replacementi
newReplaceString patMatch
newReplaceString replaceStringlastIndex lastMatchlength
textregex newReplaceString
matches preserveCase
preserveCase
matches _replacePattern
_replacePattern
replaceString
replaceString replaceStringlength
substrFrom result
i len replaceStringlength i len i
chCode replaceStringi
chCode CharCodeBackslash
i
i len
nextChCode replaceStringi
replaceWithCharacter
nextChCode
CharCodeBackslash
replaceWithCharacter
CharCoden
replaceWithCharacter
CharCodet
replaceWithCharacter
replaceWithCharacter
result replaceStringsubstrFrom i replaceWithCharacter
substrFrom i
chCode CharCodeDollarSign
i
i len
nextChCode replaceStringi
replaceWithCharacter
nextChCode
CharCodeDigit0
replaceWithCharacter
_hasParameters
CharCodeBackTick
CharCodeSingleQuote
_hasParameters
nextChCode CharCodeDigit1 CharCodeDigit9
i replaceStringlength
_hasParameters
charCode replaceStringi
charCode CharCodeDigit0 CharCodeDigit9
_hasParameters
i
i replaceStringlength
_hasParameters
charCode replaceStringi
charCode CharCodeDigit0 CharCodeDigit9
_hasParameters
i
replaceWithCharacter
result replaceStringsubstrFrom i replaceWithCharacter
substrFrom i
substrFrom
_replacePattern result replaceStringsubstrFrom
value from to
from value value to