import { Scalar } from './Scalar' ; export class Bool extends Scalar { constructor ( name = '' , value = '' ) { super ( name , value ) ; } public typename ( ) { return 'bool' ; } public loads ( type ) { return type === this . typename ( ) ; } public createConcreteType ( name , value ) { return new Bool ( name , value ) ; } }