'use strict'; var ok = require('assert').ok; var Node = require('./Node'); class FunctionCall extends Node { constructor(def) { super('FunctionCall'); this.callee = def.callee; ok(this.callee, '"callee" is required'); let args = this.args = def.args; if (args) { if (!Array.isArray(args)) { throw new Error('Invalid args'); } for (let i=0; i