Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
337 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | const Container = require('./container');
|
---|
4 |
|
---|
5 | class FunctionNode extends Container {
|
---|
6 | constructor (opts) {
|
---|
7 | super(opts);
|
---|
8 | this.type = 'func';
|
---|
9 | // start off at -1 so we know there haven't been any parens added
|
---|
10 | this.unbalanced = -1;
|
---|
11 | }
|
---|
12 | };
|
---|
13 |
|
---|
14 | Container.registerWalker(FunctionNode);
|
---|
15 |
|
---|
16 | module.exports = FunctionNode;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.