mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
17 lines
422 B
TypeScript
17 lines
422 B
TypeScript
"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;
|
|
}
|
|
|
|
export = Expression;
|