1
0

variableLiteral.js 250 B

1234567891011121314
  1. import { Literal } from './literal';
  2. import { Types } from './../../typeSystem/types';
  3. export class VariableLiteral extends Literal {
  4. constructor(id) {
  5. super(Types.UNDEFINED);
  6. this.id = id;
  7. }
  8. toString () {
  9. return this.id;
  10. }
  11. }