agsamantha/node_modules/jintr/dist/nodes/SequenceExpression.js

11 lines
291 B
JavaScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
import BaseJSNode from './BaseJSNode.js';
export default class SequenceExpression extends BaseJSNode {
run() {
let result;
for (const expression of this.node.expressions) {
result = this.visitor.visitNode(expression);
}
return result;
}
}