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';
export const enum TokenType {
Dollar,
Colon,
Comma,
CurlyOpen,
CurlyClose,
Backslash,
Forwardslash,
Pipe,
Int,
VariableName,
Format,
Plus,
Dash,
QuestionMark,
EOF
}
export interface Token {
type: TokenType;
pos: number;
len: number;
}
export class Scanner {
private static _table: { ch TokenType
CharCodeDollarSign TokenTypeDollar
CharCodeColon TokenTypeColon
CharCodeComma TokenTypeComma
CharCodeOpenCurlyBrace TokenTypeCurlyOpen
CharCodeCloseCurlyBrace TokenTypeCurlyClose
CharCodeBackslash TokenTypeBackslash
CharCodeSlash TokenTypeForwardslash
CharCodePipe TokenTypePipe
CharCodePlus TokenTypePlus
CharCodeDash TokenTypeDash
CharCodeQuestionMark TokenTypeQuestionMark
ch
ch CharCodeDigit0 ch CharCodeDigit9
ch
ch CharCodeUnderline
ch CharCodea ch CharCodez
ch CharCode ch CharCode
value
pos
value
value value
pos
token Token
valuetokenpos tokenlen
Token
pos valuelength
type TokenType pos pos len
pos pos
len
ch valuepos
type TokenType
type Scanner_tablech
type
pos
type pos len
Scannerch
type TokenTypeInt
len
ch valuepos len
Scannerch
pos len
type pos len
Scannerch
type TokenTypeVariableName
ch valuepos len
Scannerch Scannerch
pos len
type pos len
type TokenTypeFormat
len
ch valuepos len
ch
Scanner_tablech
Scannerch
Scannerch
pos len
type pos len
_markerBrand
parent Marker
_children Marker
child Marker
child _children_childrenlength
Text_children_childrenlength value childvalue
childparent
_childrenchild
child Marker others Marker
parent child
idx parentchildrenchild
newChildren parentchildren
newChildrenidx others
parent_children newChildren
children Marker parent Marker
child children
childparent parent
childchildren child
others parent
Marker
_children
Marker
_childrenlength
_children_childrenlength rightMostDescendant
TextmateSnippet
candidate Marker
candidate
candidate
candidate
candidate candidateparent
childrenprev cur prev cur
Marker
value
value
value
override
value
Textvalue
override
valuelength
Text
value
transform Transform
a Placeholder b Placeholder
aindex bindex
aisFinalTabstop
bisFinalTabstop
aindex bindex
aindex bindex
index
index
Choice
_childrenlength _children
_children
transformString
transform
transformString transform
childrenlength transform
childrenlength
choice
Placeholder
ret index
transform
rettransform transform
ret_children childrenchild child
ret
options Text
override marker Marker
marker
markerparent
optionsmarker
override
optionsvalue
options
option optionvalue
override
options
Choice
ret
optionsretappendChild ret
ret
regexp RegExp
value
_this
didMatch
ret valueregexp
didMatch
_thisprototypearguments
didMatch _childrenchild child childelseValue
ret
ret
groups
ret
marker _children
marker
value groupsmarkerindex
value markervalue
ret value
ret marker
ret
override
Transform
ret
retregexp regexpsource regexpignoreCase regexpglobal
ret_children childrenchild child
ret
index
shorthandName
ifValue
elseValue
value
shorthandName
value value
shorthandName
value value
shorthandName
value value value
shorthandName
value value
shorthandName
value value
shorthandName
value value
shorthandName
value value
value ifValue
ifValue
value elseValue
elseValue
value
value
match value
match
value
value
value
cleaned value
match2 cleaned
match2
cleaned
word wordlength
word word
match2
x x
value
match value
match
value
matchword
word word
value
match value
match
value
matchword index
index
word word
word word
value
value
value
value index
shorthandName
value
ifValue elseValue
value
ifValue
value
elseValue
value
value
value
FormatString
ret index shorthandName ifValue elseValue
ret
name
resolver VariableResolver
value resolver
transform
value transformvalue
value
_children value
transformString
transform
transformString transform
childrenlength
Variable
ret name
transform
rettransform transform
ret_children childrenchild child
ret
variable Variable
marker Marker marker Marker
stack marker
stacklength
marker stack
recurse marker
recurse
stackmarkerchildren
_placeholders all Placeholder last Placeholder
_placeholders
all Placeholder
last Placeholder
candidate
candidate
allcandidate
last last lastindex candidateindex candidate last
_placeholders all last
_placeholders
Placeholder
all placeholderInfo
all
marker Marker
pos
found
candidate
candidate marker
found
pos candidate
found
pos
marker Marker
ret
marker marker
ret marker
ret
placeholder Placeholder Placeholder
ret Placeholder
parent placeholder
parent
parent
retparent
parent parentparent
ret
resolver VariableResolver
candidate
candidate
candidateresolver
_placeholders
override child Marker
_placeholders
child
override child Marker others Marker
_placeholders
child others
childrenprev cur prev cur
TextmateSnippet
ret
ret_children childrenchild child
ret
marker Marker
children visitor
value
value
value
value
template
template
_scanner Scanner
_token Token type TokenType pos len
value insertFinalTabstop enforceFinalTabstop TextmateSnippet
snippet
value snippet
snippet enforceFinalTabstop insertFinalTabstop
snippet
value snippet TextmateSnippet Marker
offset snippetchildrenlength
_scannervalue
_token _scanner
snippet
placeholderDefaultValues
incompletePlaceholders Placeholder
snippetmarker
marker
markerisFinalTabstop
placeholderDefaultValues
placeholderDefaultValuesmarkerindex markerchildrenlength
placeholderDefaultValuesmarkerindex markerchildren
incompletePlaceholdersmarker
placeholder Placeholder stack Set
defaultValues placeholderDefaultValuesplaceholderindex
defaultValues
clone placeholderindex
clonetransform placeholdertransform
child defaultValues
newChild child
clonenewChild
newChild placeholderDefaultValuesnewChildindex stacknewChildindex
stacknewChildindex
newChild stack
stacknewChildindex
snippetplaceholder clone
stack
placeholder incompletePlaceholders
placeholder stack
snippetchildrenoffset
snippet TextmateSnippet enforceFinalTabstop insertFinalTabstop
enforceFinalTabstop insertFinalTabstop snippetplaceholderslength
finalTabstop snippetplaceholdersp pindex
finalTabstop
snippet
type TokenType
type TokenType value
type TokenType value
type _tokentype type
ret value _scanner_token
_token _scanner
ret
token Token
_scannerpos tokenpos tokenlen
_token token
type TokenType
start _token
_tokentype type
_tokentype TokenType
_tokentype TokenTypeBackslash
nextToken _scanner
nextTokentype TokenTypeDollar
nextTokentype TokenTypeCurlyClose
nextTokentype TokenTypeBackslash
_token _scanner
value _scannervaluestartpos _tokenpos
_token _scanner
value
marker Marker
marker
marker
marker
marker
marker
marker Marker
value
value TokenTypeBackslash
value TokenTypeDollar
TokenTypeCurlyClose
TokenTypeBackslash
value
marker value
parent Marker
value
token _token
match TokenTypeDollar
value TokenTypeVariableName TokenTypeInt
match
token
parentvalue
value
value
parent Marker
index
token _token
match TokenTypeDollar
TokenTypeCurlyOpen
index TokenTypeInt
match
token
placeholder index
TokenTypeColon
TokenTypeCurlyClose
parentplaceholder
placeholder
parent index
placeholderchildrenparentappendChild parent
placeholderindex TokenTypePipe
choice
choice
TokenTypeComma
TokenTypePipe
placeholderchoice
TokenTypeCurlyClose
parentplaceholder
token
TokenTypeForwardslash
placeholder
parentplaceholder
token
TokenTypeCurlyClose
parentplaceholder
token
parent Choice
token _token
values
_tokentype TokenTypeComma _tokentype TokenTypePipe
value
value TokenTypeBackslash
value TokenTypeComma
TokenTypePipe
TokenTypeBackslash
value
value
value
token
valuesvalue
valueslength
token
parent values
parent Marker
name
token _token
match TokenTypeDollar
TokenTypeCurlyOpen
name TokenTypeVariableName
match
token
variable name
TokenTypeColon
TokenTypeCurlyClose
parentvariable
variable
parent name
variablechildrenparentappendChild parent
TokenTypeForwardslash
variable
parentvariable
token
TokenTypeCurlyClose
parentvariable
token
parent TransformableMarker
transform
regexValue
regexOptions
TokenTypeForwardslash
escaped
escaped TokenTypeBackslash
escaped TokenTypeForwardslash escaped
regexValue escaped
_tokentype TokenType
regexValue
TokenTypeForwardslash
escaped
escaped TokenTypeBackslash
escaped TokenTypeBackslash TokenTypeForwardslash escaped
transform escaped
transform transform
TokenTypeCurlyClose
_tokentype TokenType
regexOptions
transformregexp regexValue regexOptions
e
parenttransform transform
parent Transform
token _token
TokenTypeDollar
complex
TokenTypeCurlyOpen
complex
index TokenTypeInt
index
token
complex
parent index
TokenTypeCurlyClose
parent index
TokenTypeColon
token
TokenTypeForwardslash
shorthand TokenTypeVariableName
shorthand TokenTypeCurlyClose
token
parent index shorthand
TokenTypePlus
ifValue TokenTypeCurlyClose
ifValue
parent index ifValue
TokenTypeDash
elseValue TokenTypeCurlyClose
elseValue
parent index elseValue
TokenTypeQuestionMark
ifValue TokenTypeColon
ifValue
elseValue TokenTypeCurlyClose
elseValue
parent index ifValue elseValue
elseValue TokenTypeCurlyClose
elseValue
parent index elseValue
token
marker Marker
_tokentype TokenType
marker _scanner_token