summaryrefslogtreecommitdiff
path: root/node_modules/babel-plugin-transform-inline-consecutive-adds/lib/collapser.js
blob: 5d1f2c01497dc267aaf4e42c67b7b95293d4aa09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"use strict";

const NotImplementedError = Error("NotImplementedError");

class Collapser {
  isInitTypeValid() {
    throw NotImplementedError;
  }

  isExpressionTypeValid() {
    throw NotImplementedError;
  }

  getExpressionChecker() {
    throw NotImplementedError;
  }

  extractAssignment() {
    throw NotImplementedError;
  }

  addSuccessfully() {
    throw NotImplementedError;
  }

  isSizeSmaller() {
    return true;
  }

}

module.exports = Collapser;