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

@ -5,19 +5,19 @@ const types = require('../../tokenizer/types.cjs');
const name = 'String';
const structure = {
value: String
value: String,
};
function parse() {
return {
type: 'String',
loc: this.getLocation(this.tokenStart, this.tokenEnd),
value: string.decode(this.consume(types.String))
};
return {
type: 'String',
loc: this.getLocation(this.tokenStart, this.tokenEnd),
value: string.decode(this.consume(types.String)),
};
}
function generate(node) {
this.token(types.String, string.encode(node.value));
this.token(types.String, string.encode(node.value));
}
exports.generate = generate;