This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/node-llama-cpp/dist/utils/gbnfJson/terminals/GbnfBooleanValue.js
T

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