mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +08:00
14 lines
326 B
JavaScript
14 lines
326 B
JavaScript
![]() |
export default class AndExp {
|
||
|
constructor(subExpressions) {
|
||
|
this.subExpressions = subExpressions;
|
||
|
}
|
||
|
|
||
|
execute(noteSet, searchContext) {
|
||
|
for (const subExpression of this.subExpressions) {
|
||
|
noteSet = subExpression.execute(noteSet, searchContext);
|
||
|
}
|
||
|
|
||
|
return noteSet;
|
||
|
}
|
||
|
}
|