arrayDeclaration.js 332 B

123456789101112
  1. import { Declaration } from './declaration';
  2. import { Types } from './../types';
  3. export class ArrayDeclaration extends Declaration {
  4. constructor (id, subtype, lines, columns, initial, isConst) {
  5. super(id, Types.ARRAY, initial, isConst);
  6. this.subtype = subtype;
  7. this.lines = lines;
  8. this.columns = columns;
  9. }
  10. }