blob: acd0154ee67754c01f376305709a16cb37e2329d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
var Token = {
AT_RULE: 'at-rule', // e.g. `@import`, `@charset`
AT_RULE_BLOCK: 'at-rule-block', // e.g. `@font-face{...}`
AT_RULE_BLOCK_SCOPE: 'at-rule-block-scope', // e.g. `@font-face`
COMMENT: 'comment', // e.g. `/* comment */`
NESTED_BLOCK: 'nested-block', // e.g. `@media screen{...}`, `@keyframes animation {...}`
NESTED_BLOCK_SCOPE: 'nested-block-scope', // e.g. `@media`, `@keyframes`
PROPERTY: 'property', // e.g. `color:red`
PROPERTY_BLOCK: 'property-block', // e.g. `--var:{color:red}`
PROPERTY_NAME: 'property-name', // e.g. `color`
PROPERTY_VALUE: 'property-value', // e.g. `red`
RULE: 'rule', // e.g `div > a{...}`
RULE_SCOPE: 'rule-scope' // e.g `div > a`
};
module.exports = Token;
|