16 lines
259 B
JavaScript
16 lines
259 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const Container = require('./container');
|
||
|
const Node = require('./node');
|
||
|
|
||
|
class Operator extends Node {
|
||
|
constructor (opts) {
|
||
|
super(opts);
|
||
|
this.type = 'operator';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Container.registerWalker(Operator);
|
||
|
|
||
|
module.exports = Operator;
|