17 lines
422 B
TypeScript
Raw Normal View History

2020-05-22 09:38:30 +02:00
"use strict";
import NoteSet = require("../note_set");
import SearchContext = require("../search_context");
abstract class Expression {
name: string;
constructor() {
this.name = this.constructor.name; // for DEBUG mode to have expression name as part of dumped JSON
}
abstract execute(inputNoteSet: NoteSet, executionContext: {}, searchContext: SearchContext): NoteSet;
2020-05-22 09:38:30 +02:00
}
export = Expression;