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 { Color } from '../../../../base/common/color.js';
import { IFontTokenOptions } from '../../../../platform/theme/common/themeService.js';
import { LanguageId, FontStyle, ColorId, StandardTokenType, MetadataConsts } from '../../encodedTokenAttributes.js';
export interface ITokenThemeRule {
token: string;
foreground?: string;
background?: string;
fontStyle?: string;
}
export class ParsedTokenThemeRule {
_parsedThemeRuleBrand
token
index
fontStyle FontStyle
foreground
background
token
index
fontStyle
foreground
background
token token
index index
fontStyle fontStyle
foreground foreground
background background
source ITokenThemeRule ParsedTokenThemeRule
source source
result ParsedTokenThemeRule
resultLen
i len sourcelength i len i
entry sourcei
fontStyle FontStyleNotSet
entryfontStyle
fontStyle FontStyleNone
segments entryfontStyle
j lenJ segmentslength j lenJ j
segment segmentsj
segment
fontStyle fontStyle FontStyleItalic
fontStyle fontStyle FontStyleBold
fontStyle fontStyle FontStyleUnderline
fontStyle fontStyle FontStyleStrikethrough
foreground
entryforeground
foreground entryforeground
background
entrybackground
background entrybackground
resultresultLen
entrytoken
i
fontStyle
foreground
background
result
parsedThemeRules ParsedTokenThemeRule customTokenColors TokenTheme
parsedThemeRulesa b
r atoken btoken
r
r
aindex bindex
defaultFontStyle FontStyleNone
defaultForeground
defaultBackground
parsedThemeRuleslength parsedThemeRulestoken
incomingDefaults parsedThemeRules
incomingDefaultsfontStyle FontStyleNotSet
defaultFontStyle incomingDefaultsfontStyle
incomingDefaultsforeground
defaultForeground incomingDefaultsforeground
incomingDefaultsbackground
defaultBackground incomingDefaultsbackground
colorMap
color customTokenColors
colorMapcolor
foregroundColorId colorMapdefaultForeground
backgroundColorId colorMapdefaultBackground
defaults defaultFontStyle foregroundColorId backgroundColorId
root defaults
i len parsedThemeRuleslength i len i
rule parsedThemeRulesi
rootruletoken rulefontStyle colorMapruleforeground colorMaprulebackground
colorMap root
colorRegExp
_lastColorId
_id2color Color
_color2id Map ColorId
_lastColorId
_id2color
_color2id
color ColorId
color
match colorcolorRegExp
match
color
color match
value _color2idcolor
value
value
value _lastColorId
_color2idcolor value
_id2colorvalue Color color
value
Color
_id2color
source ITokenThemeRule customTokenColors TokenTheme
source customTokenColors
source ParsedTokenThemeRule customTokenColors TokenTheme
source customTokenColors
_colorMap ColorMap
_root ThemeTrieElement
_cache Map
colorMap ColorMap root ThemeTrieElement
_colorMap colorMap
_root root
_cache
Color
_colorMap
ExternalThemeTrieElement
_root
token ThemeTrieElementRule
_roottoken
languageId LanguageId token
result _cachetoken
result
rule token
standardToken token
result
rulemetadata
standardToken MetadataConsts
_cachetoken result
result
languageId MetadataConsts
tokenType StandardTokenType
m tokenType
m
StandardTokenTypeOther
m
StandardTokenTypeComment
StandardTokenTypeString
StandardTokenTypeRegEx
StandardTokenTypeRegEx
a b
a b
a b
_themeTrieElementRuleBrand
_fontStyle FontStyle
_foreground ColorId
_background ColorId
metadata
fontStyle FontStyle foreground ColorId background ColorId
_fontStyle fontStyle
_foreground foreground
_background background
metadata
_fontStyle MetadataConsts
_foreground MetadataConsts
_background MetadataConsts
ThemeTrieElementRule
_fontStyle _foreground _background
fontStyle FontStyle foreground ColorId background ColorId
fontStyle FontStyleNotSet
_fontStyle fontStyle
foreground ColorIdNone
_foreground foreground
background ColorIdNone
_background background
metadata
_fontStyle MetadataConsts
_foreground MetadataConsts
_background MetadataConsts
mainRule ThemeTrieElementRule
children Map ExternalThemeTrieElement
mainRule ThemeTrieElementRule
children Map ExternalThemeTrieElement key ExternalThemeTrieElement
mainRule mainRule
children
children children
children
key children
childrenkey childrenkey
_themeTrieElementBrand
_mainRule ThemeTrieElementRule
_children Map ThemeTrieElement
mainRule ThemeTrieElementRule
_mainRule mainRule
_children
ExternalThemeTrieElement
children
_childrenelement index
childrenindex element
_mainRule children
token ThemeTrieElementRule
token
_mainRule
dotIndex token
head
tail
dotIndex
head token
tail
head token dotIndex
tail tokendotIndex
child _childrenhead
child
childtail
_mainRule
token fontStyle FontStyle foreground ColorId background ColorId
token
_mainRulefontStyle foreground background
dotIndex token
head
tail
dotIndex
head token
tail
head token dotIndex
tail tokendotIndex
child _childrenhead
child
child _mainRule
_childrenhead child
childtail fontStyle foreground background
colorMap Color
rules
i len colorMaplength i len i
color colorMapi
rulesi
rules
rules
rules
rules
rules
rules
fontMap IFontTokenOptions
rules
fonts
i len fontMaplength i len i
font fontMapi
fontfontFamily fontfontSizeMultiplier
className fontfontFamily fontfontSizeMultiplier
fontsclassName
fontsclassName
rule
fontfontFamily
rule
fontfontSizeMultiplier
rule
rule
rulesrule
rules
fontFamily fontSize
safeFontFamily fontFamily
fontFamily
normalized fontFamily
normalized
normalized
className
className