Files
2026-02-05 15:27:49 +08:00

17 lines
397 B
JavaScript

import { GbnfTerminal } from "../GbnfTerminal.js";
export class GbnfBooleanValue extends GbnfTerminal {
value;
constructor(value) {
super();
this.value = value;
}
getGrammar() {
if (this.value)
return '"true"';
return '"false"';
}
resolve() {
return this.getGrammar();
}
}
//# sourceMappingURL=GbnfBooleanValue.js.map