Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
368 B
JavaScript
Raw Permalink Normal View History

"use strict";
module.exports = {
languages: [
{
name: "foobar",
parsers: ["foobar"],
2022-07-20 23:18:24 +08:00
extensions: [".foobar"],
},
],
parsers: {
foobar: {
parse: text => ({ text }),
2022-07-20 23:18:24 +08:00
astFormat: "foobar",
},
},
printers: {
foobar: {
2022-07-20 23:18:24 +08:00
print(path) {
return ["foobar+", path.getValue().text];
},
},
},
};