import * as Json from "jsonc-parser" ; import { YAMLDocument } from "../index" ; import { ASTNode } from "./ast-node" ; export class BooleanASTNode extends ASTNode < string | boolean > { constructor ( document , parent , name , value , start , end ? ) { super ( document , parent , "boolean" , name , start , end ) ; this . value = value ; } getValue ( ) { return this . value ; } }