format: prettify entire project

This commit is contained in:
Rim
2025-04-02 06:50:39 -04:00
parent 86f0782a98
commit 7ccc0be712
1711 changed files with 755867 additions and 235931 deletions

View File

@ -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;