import { IReadOnlyFunctionCallArgumentCollection } from './Argument/IFunctionCallArgumentCollection' ; import { IFunctionCall } from './IFunctionCall' ; export class FunctionCall implements IFunctionCall { constructor ( public readonly functionName , public readonly args ) { if ( ! functionName ) { throw new Error ( 'empty function name in function call' ) ; } if ( ! args ) { throw new Error ( 'undefined args' ) ; } } }