agsamantha/node_modules/jintr/dist/nodes/SequenceExpression.js
2024-10-02 15:15:21 -05:00

10 lines
291 B
JavaScript

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;
}
}