Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
3ac30c24
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3ac30c24
编写于
3月 03, 2016
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Do not generate brackets when tokenizing CSS
上级
b2597ff2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
44 addition
and
49 deletion
+44
-49
src/vs/languages/css/common/css.ts
src/vs/languages/css/common/css.ts
+11
-11
src/vs/languages/css/test/common/css.test.ts
src/vs/languages/css/test/common/css.test.ts
+33
-38
未找到文件。
src/vs/languages/css/common/css.ts
浏览文件 @
3ac30c24
...
...
@@ -136,13 +136,13 @@ export class State extends AbstractState {
switch
(
this
.
kind
)
{
case
States
.
ValuePostUrl
:
if
(
ch
===
'
(
'
)
{
return
this
.
nextState
(
States
.
ValueInUrlFunction
,
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
});
return
this
.
nextState
(
States
.
ValueInUrlFunction
,
{
type
:
'
punctuation.parenthesis.css
'
});
}
this
.
kind
=
States
.
Value
;
break
;
case
States
.
MetaPostUrl
:
if
(
ch
===
'
(
'
)
{
return
this
.
nextState
(
States
.
MetaInUrlFunction
,
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
});
return
this
.
nextState
(
States
.
MetaInUrlFunction
,
{
type
:
'
punctuation.parenthesis.css
'
});
}
this
.
kind
=
States
.
Meta
;
break
;
...
...
@@ -160,10 +160,10 @@ export class State extends AbstractState {
switch
(
this
.
kind
)
{
case
States
.
Selector
:
if
(
ch
===
'
{
'
)
{
return
this
.
nextState
(
States
.
Rule
,
{
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
});
return
this
.
nextState
(
States
.
Rule
,
{
type
:
'
punctuation.bracket.css
'
});
}
if
(
ch
===
'
(
'
||
ch
===
'
)
'
)
{
return
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
ch
===
'
(
'
?
Modes
.
Bracket
.
Open
:
Modes
.
Bracket
.
Close
};
return
{
type
:
'
punctuation.parenthesis.css
'
};
}
if
(
ch
===
'
@
'
&&
!
this
.
inMeta
)
{
//@import, @media, @key-word-animation
stream
.
advanceIfRegExp2
(
identRegEx
);
...
...
@@ -171,7 +171,7 @@ export class State extends AbstractState {
}
if
(
ch
===
'
}
'
&&
this
.
inMeta
)
{
//@import, @media, @key-word-animation
this
.
inMeta
=
false
;
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
});
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
});
}
if
(
/
[\*\(\)\[\]\+
>=
\~\|
;
]
/
.
test
(
ch
))
{
return
{
type
:
'
punctuation.css
'
};
...
...
@@ -193,10 +193,10 @@ export class State extends AbstractState {
if
(
this
.
inMeta
)
{
nextState
=
States
.
Selector
;
}
return
this
.
nextState
(
nextState
,
{
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
});
return
this
.
nextState
(
nextState
,
{
type
:
'
punctuation.bracket.css
'
});
}
if
(
ch
===
'
(
'
||
ch
===
'
)
'
)
{
return
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
ch
===
'
(
'
?
Modes
.
Bracket
.
Open
:
Modes
.
Bracket
.
Close
};
return
{
type
:
'
punctuation.parenthesis.css
'
};
}
if
(
ch
===
'
;
'
)
{
if
(
this
.
metaBraceCount
===
0
)
{
...
...
@@ -217,20 +217,20 @@ export class State extends AbstractState {
case
States
.
Rule
:
if
(
ch
===
'
}
'
)
{
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
});
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
});
}
if
(
ch
===
'
:
'
)
{
return
this
.
nextState
(
States
.
Value
,
{
type
:
'
punctuation.css
'
});
}
if
(
ch
===
'
(
'
||
ch
===
'
)
'
)
{
return
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
ch
===
'
(
'
?
Modes
.
Bracket
.
Open
:
Modes
.
Bracket
.
Close
};
return
{
type
:
'
punctuation.parenthesis.css
'
};
}
this
.
consumeIdent
(
stream
);
return
{
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
};
case
States
.
Value
:
if
(
ch
===
'
}
'
)
{
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
});
return
this
.
nextState
(
States
.
Selector
,
{
type
:
'
punctuation.bracket.css
'
});
}
if
(
ch
===
'
;
'
)
{
return
this
.
nextState
(
States
.
Rule
,
{
type
:
'
punctuation.css
'
});
...
...
@@ -240,7 +240,7 @@ export class State extends AbstractState {
}
if
(
ch
===
'
(
'
||
ch
===
'
)
'
)
{
return
{
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
ch
===
'
(
'
?
Modes
.
Bracket
.
Open
:
Modes
.
Bracket
.
Close
};
return
{
type
:
'
punctuation.parenthesis.css
'
};
}
if
(
ch
===
'
,
'
)
{
return
{
type
:
'
punctuation.css
'
};
...
...
src/vs/languages/css/test/common/css.test.ts
浏览文件 @
3ac30c24
...
...
@@ -52,7 +52,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR_TAG
+
'
.css
'
},
{
startIndex
:
4
,
type
:
''
},
{
startIndex
:
5
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
5
,
type
:
'
punctuation.bracket.css
'
}
]},
{
line
:
'
margin: 0;
'
,
tokens
:
[
...
...
@@ -113,7 +113,7 @@ suite('CSS Colorizing', () => {
line
:
'
}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
''
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -169,7 +169,7 @@ suite('CSS Colorizing', () => {
{
startIndex
:
14
,
type
:
''
},
{
startIndex
:
15
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR_TAG
+
'
.css
'
},
{
startIndex
:
16
,
type
:
''
},
{
startIndex
:
17
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
17
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -197,7 +197,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.id.css
'
},
{
startIndex
:
5
,
type
:
''
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -208,7 +208,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
5
,
type
:
''
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -220,9 +220,9 @@ suite('CSS Colorizing', () => {
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_AT_KEYWORD
+
'
.css
'
},
{
startIndex
:
7
,
type
:
''
},
{
startIndex
:
8
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
12
,
type
:
'
string.css
'
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
28
,
type
:
'
punctuation.css
'
}
]}
]);
...
...
@@ -250,7 +250,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_AT_KEYWORD
+
'
.css
'
},
{
startIndex
:
10
,
type
:
''
},
{
startIndex
:
11
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
11
,
type
:
'
punctuation.bracket.css
'
}
]},
{
line
:
'
font-family: "Opificio";
'
,
tokens
:
[
...
...
@@ -282,7 +282,7 @@ suite('CSS Colorizing', () => {
{
startIndex
:
18
,
type
:
''
},
{
startIndex
:
19
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
36
,
type
:
''
},
{
startIndex
:
37
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
}
{
startIndex
:
37
,
type
:
'
punctuation.bracket.css
'
}
]},
{
line
:
'
from {
'
,
tokens
:
[
...
...
@@ -348,22 +348,20 @@ suite('CSS Colorizing', () => {
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_AT_KEYWORD
+
'
.css
'
},
{
startIndex
:
7
,
type
:
''
},
{
startIndex
:
8
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
12
,
type
:
'
string.css
'
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
28
,
type
:
'
punctuation.css
'
}
]},
{
line
:
'
.rule1{}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
7
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
}
]},
{
line
:
'
.rule2{}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
7
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -397,16 +395,16 @@ suite('CSS Colorizing', () => {
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_AT_KEYWORD
+
'
.css
'
},
{
startIndex
:
7
,
type
:
''
},
{
startIndex
:
8
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
11
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
12
,
type
:
'
string.css
'
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
27
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
28
,
type
:
'
punctuation.css
'
},
{
startIndex
:
29
,
type
:
cssTokenTypes
.
TOKEN_AT_KEYWORD
+
'
.css
'
},
{
startIndex
:
36
,
type
:
''
},
{
startIndex
:
37
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
40
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
40
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
41
,
type
:
'
string.css
'
},
{
startIndex
:
56
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
56
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
57
,
type
:
'
punctuation.css
'
}
]}
]);
...
...
@@ -418,15 +416,15 @@ suite('CSS Colorizing', () => {
line
:
'
.a{background:#f5f9fc !important}.b{font-family:"Helvetica Neue", Helvetica;height:31px;}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
3
,
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
},
{
startIndex
:
13
,
type
:
'
punctuation.css
'
},
{
startIndex
:
14
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.hex.css
'
},
{
startIndex
:
21
,
type
:
''
},
{
startIndex
:
22
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.keyword.css
'
},
{
startIndex
:
32
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
32
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
33
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
35
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
35
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
36
,
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
},
{
startIndex
:
47
,
type
:
'
punctuation.css
'
},
{
startIndex
:
48
,
type
:
'
string.css
'
},
...
...
@@ -439,7 +437,7 @@ suite('CSS Colorizing', () => {
{
startIndex
:
83
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.numeric.css
'
},
{
startIndex
:
85
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.unit.css
'
},
{
startIndex
:
87
,
type
:
'
punctuation.css
'
},
{
startIndex
:
88
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
88
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -451,7 +449,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
5
,
type
:
''
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
7
,
type
:
''
},
{
startIndex
:
8
,
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
},
{
startIndex
:
18
,
type
:
'
punctuation.css
'
},
...
...
@@ -459,14 +457,14 @@ suite('CSS Colorizing', () => {
{
startIndex
:
20
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.hex.css
'
},
{
startIndex
:
24
,
type
:
''
},
{
startIndex
:
25
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
28
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
28
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
29
,
type
:
'
string.css
'
},
{
startIndex
:
215
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
215
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
216
,
type
:
''
},
{
startIndex
:
217
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
225
,
type
:
''
},
{
startIndex
:
226
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
232
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
232
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -477,14 +475,14 @@ suite('CSS Colorizing', () => {
line
:
'
.a{background:url(/a.jpg)}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
3
,
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
},
{
startIndex
:
13
,
type
:
'
punctuation.css
'
},
{
startIndex
:
14
,
type
:
cssTokenTypes
.
TOKEN_VALUE
+
'
.css
'
},
{
startIndex
:
17
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
17
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
18
,
type
:
'
string.css
'
},
{
startIndex
:
24
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
25
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
24
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
25
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -494,8 +492,7 @@ suite('CSS Colorizing', () => {
line
:
'
p{}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR_TAG
+
'
.css
'
},
{
startIndex
:
1
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
2
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
1
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -505,11 +502,9 @@ suite('CSS Colorizing', () => {
line
:
'
p:nth() {}
'
,
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR_TAG
+
'
.css
'
},
{
startIndex
:
5
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
6
,
type
:
'
punctuation.parenthesis.css
'
,
bracket
:
Modes
.
Bracket
.
Close
},
{
startIndex
:
5
,
type
:
'
punctuation.parenthesis.css
'
},
{
startIndex
:
7
,
type
:
''
},
{
startIndex
:
8
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
9
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Close
}
{
startIndex
:
8
,
type
:
'
punctuation.bracket.css
'
}
]}
]);
});
...
...
@@ -555,7 +550,7 @@ suite('CSS Colorizing', () => {
tokens
:
[
{
startIndex
:
0
,
type
:
cssTokenTypes
.
TOKEN_SELECTOR
+
'
.class.css
'
},
{
startIndex
:
5
,
type
:
''
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
,
bracket
:
Modes
.
Bracket
.
Open
},
{
startIndex
:
6
,
type
:
'
punctuation.bracket.css
'
},
{
startIndex
:
7
,
type
:
cssTokenTypes
.
TOKEN_PROPERTY
+
'
.css
'
}
]}
]);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录