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.
17 lines
673 B
TypeScript
17 lines
673 B
TypeScript
import { PipelineCompiler } from '../Pipes/PipelineCompiler';
|
|
import type { IReadOnlyFunctionCallArgumentCollection } from '../../Function/Call/Argument/IFunctionCallArgumentCollection';
|
|
import type { IPipelineCompiler } from '../Pipes/IPipelineCompiler';
|
|
|
|
export interface IExpressionEvaluationContext {
|
|
readonly args: IReadOnlyFunctionCallArgumentCollection;
|
|
readonly pipelineCompiler: IPipelineCompiler;
|
|
}
|
|
|
|
export class ExpressionEvaluationContext implements IExpressionEvaluationContext {
|
|
constructor(
|
|
public readonly args: IReadOnlyFunctionCallArgumentCollection,
|
|
public readonly pipelineCompiler: IPipelineCompiler = new PipelineCompiler(),
|
|
) {
|
|
}
|
|
}
|