This commit consolidates scripts and categories under a unified 'Executable' concept. This simplifies the architecture and improves code readability. - Introduce subfolders within `src/domain` to segregate domain elements. - Update class and interface names by removing the 'I' prefix in alignment with new coding standards. - Replace 'Node' with 'Executable' to clarify usage; reserve 'Node' exclusively for the UI's tree component.
14 lines
450 B
TypeScript
14 lines
450 B
TypeScript
import type { FunctionCall } from './FunctionCall';
|
|
import type { IReadOnlyFunctionCallArgumentCollection } from './Argument/IFunctionCallArgumentCollection';
|
|
|
|
export class ParsedFunctionCall implements FunctionCall {
|
|
constructor(
|
|
public readonly functionName: string,
|
|
public readonly args: IReadOnlyFunctionCallArgumentCollection,
|
|
) {
|
|
if (!functionName) {
|
|
throw new Error('missing function name in function call');
|
|
}
|
|
}
|
|
}
|