Replaced old parser with new parser
This commit is contained in:
@@ -30,4 +30,8 @@ export default class UnaryOperatorNode extends ParseNode {
|
||||
let {right, operator} = this;
|
||||
return `${operator}${right.toString()}`;
|
||||
}
|
||||
traverse(fn){
|
||||
fn(this);
|
||||
this.right.traverse(fn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user