format: prettify entire project
This commit is contained in:
18
node_modules/css-tree/cjs/syntax/node/Hash.cjs
generated
vendored
18
node_modules/css-tree/cjs/syntax/node/Hash.cjs
generated
vendored
@ -6,21 +6,21 @@ const types = require('../../tokenizer/types.cjs');
|
||||
const xxx = 'XXX';
|
||||
const name = 'Hash';
|
||||
const structure = {
|
||||
value: String
|
||||
value: String,
|
||||
};
|
||||
function parse() {
|
||||
const start = this.tokenStart;
|
||||
const start = this.tokenStart;
|
||||
|
||||
this.eat(types.Hash);
|
||||
this.eat(types.Hash);
|
||||
|
||||
return {
|
||||
type: 'Hash',
|
||||
loc: this.getLocation(start, this.tokenStart),
|
||||
value: this.substrToCursor(start + 1)
|
||||
};
|
||||
return {
|
||||
type: 'Hash',
|
||||
loc: this.getLocation(start, this.tokenStart),
|
||||
value: this.substrToCursor(start + 1),
|
||||
};
|
||||
}
|
||||
function generate(node) {
|
||||
this.token(types.Hash, '#' + node.value);
|
||||
this.token(types.Hash, '#' + node.value);
|
||||
}
|
||||
|
||||
exports.generate = generate;
|
||||
|
Reference in New Issue
Block a user