1 | "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }Object.defineProperty(exports, "__esModule", {value: true});
|
2 |
|
3 | var _Transformer = require('./Transformer'); var _Transformer2 = _interopRequireDefault(_Transformer);
|
4 |
|
5 | class FlowTransformer extends _Transformer2.default {
|
6 | constructor( rootTransformer, tokens) {
|
7 | super();this.rootTransformer = rootTransformer;this.tokens = tokens;;
|
8 | }
|
9 |
|
10 | process() {
|
11 | return (
|
12 | this.rootTransformer.processPossibleArrowParamEnd() ||
|
13 | this.rootTransformer.processPossibleTypeRange()
|
14 | );
|
15 | }
|
16 | } exports.default = FlowTransformer;
|