mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-25 14:43:01 +00:00
In 'Filter Operators' add column to indicate those operators that construct an entirely new selection. (#6351)
This commit is contained in:
parent
1345384d39
commit
5cab75f4a7
@ -1,5 +1,5 @@
|
|||||||
created: 20140410103123179
|
created: 20140410103123179
|
||||||
modified: 20210830010231559
|
modified: 20211217141224284
|
||||||
tags: Filters
|
tags: Filters
|
||||||
title: Filter Operators
|
title: Filter Operators
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -10,18 +10,21 @@ type: text/vnd.tiddlywiki
|
|||||||
<td>{{!!op-purpose}}</td>
|
<td>{{!!op-purpose}}</td>
|
||||||
<td align="center"><$list filter="[all[current]tag[Common Operators]]">✓</$list></td>
|
<td align="center"><$list filter="[all[current]tag[Common Operators]]">✓</$list></td>
|
||||||
<td align="center"><$list filter="[all[current]tag[Negatable Operators]]">`!`</$list></td>
|
<td align="center"><$list filter="[all[current]tag[Negatable Operators]]">`!`</$list></td>
|
||||||
|
<td align="center"><$list filter="[all[current]tag[Selection Constructors]!tag[Selection Constructors: Conditional]]">`C`</$list><$list filter="[all[current]tag[Selection Constructors]tag[Selection Constructors: Conditional]]">`C?`</$list></td>
|
||||||
</tr></$list>
|
</tr></$list>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\define .group-heading(_)
|
\define .group-heading(_)
|
||||||
<tr class="doc-table-subheading"><th colspan="4" align="center">$_$</th></tr>
|
<tr class="doc-table-subheading"><th colspan="5" align="center">$_$</th></tr>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
A <<.def "filter operator">> is a predefined keyword attached to an individual [[step|Filter Step]] of a [[filter|Filters]]. It defines the particular action of that step.
|
A <<.def "filter operator">> is a predefined keyword attached to an individual [[step|Filter Step]] of a [[filter|Filters]]. It defines the particular action of that step.
|
||||||
|
|
||||||
''Important:'' Each first [[step|Filter Step]] of a [[filter run|Filter Run]] not given any input titles receives the output of <$link to="all Operator">[all[tiddlers]]</$link> as its input.
|
''Important:'' Each first [[step|Filter Step]] of a [[filter run|Filter Run]] not given any input titles receives the output of <$link to="all Operator">[all[tiddlers]]</$link> as its input.
|
||||||
|
|
||||||
The following table lists all core operators, the most common ones marked ✓. The last column indicates whether an operator allows ''negation'' using the <$link to="Filter Step"><code>!</code> prefix</$link>. For specifics as to each operator's negated output please refer to its documentation.
|
The following table lists all core operators, the most common ones marked ✓. The `!` column indicates whether an operator allows ''negation'' using the <$link to="Filter Step"><code>!</code> prefix</$link>. For specifics as to each operator's negated output please refer to its documentation.
|
||||||
|
|
||||||
|
Most steps process the [[selection of titles|Title Selection]] that are supplied as their input, but a few [[construct an entirely new selection|Selection Constructors]] instead, as indicated by the last column. A `C?` indicates it might construct a new selection, depending on usage. For specifics as to each operator's selection creation please refer to its documentation.
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@ -29,6 +32,7 @@ The following table lists all core operators, the most common ones marked ✓. T
|
|||||||
<th align="left">Purpose</th>
|
<th align="left">Purpose</th>
|
||||||
<th align="center">✓</th>
|
<th align="center">✓</th>
|
||||||
<th align="center">`!`</th>
|
<th align="center">`!`</th>
|
||||||
|
<th align="center">`C`</th>
|
||||||
</tr>
|
</tr>
|
||||||
<<.operator-rows "[tag[Filter Operators]!tag[Order Operators]!tag[Mathematics Operators]!tag[String Operators]!tag[Tag Operators]!tag[Special Operators]sort[]]">>
|
<<.operator-rows "[tag[Filter Operators]!tag[Order Operators]!tag[Mathematics Operators]!tag[String Operators]!tag[Tag Operators]!tag[Special Operators]sort[]]">>
|
||||||
<<.group-heading "Order Operators">>
|
<<.group-heading "Order Operators">>
|
||||||
@ -47,4 +51,4 @@ The following table lists all core operators, the most common ones marked ✓. T
|
|||||||
|
|
||||||
A typical step is written as `[operator[parameter]]`, although not all of the operators need a [[parameter|Filter Parameter]].
|
A typical step is written as `[operator[parameter]]`, although not all of the operators need a [[parameter|Filter Parameter]].
|
||||||
|
|
||||||
Most steps process the [[selection of titles|Title Selection]] that are supplied as their input, but a few [[construct an entirely new selection|Selection Constructors]] instead. For the exact rules, see [[Filter Syntax]].
|
For the exact rules, see [[Filter Syntax]].
|
@ -1,11 +1,11 @@
|
|||||||
caption: all
|
caption: all
|
||||||
created: 20140410103123179
|
created: 20140410103123179
|
||||||
modified: 20161128185445034
|
modified: 20211217135719266
|
||||||
op-input: ignored, unless the parameter is empty
|
op-input: ignored, unless the parameter is empty
|
||||||
op-output: the titles that belong to all the specified categories
|
op-output: the titles that belong to all the specified categories
|
||||||
op-parameter: zero or more categories
|
op-parameter: zero or more categories
|
||||||
op-purpose: find all titles of a fundamental category
|
op-purpose: find all titles of a fundamental category
|
||||||
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]]
|
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]] [[Selection Constructors: Conditional]]
|
||||||
title: all Operator
|
title: all Operator
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
caption: subfilter
|
caption: subfilter
|
||||||
created: 20181031175129475
|
created: 20181031175129475
|
||||||
modified: 20211030223407188
|
modified: 20211217135706478
|
||||||
op-input: a [[selection of titles|Title Selection]] passed as input to the subfilter
|
op-input: a [[selection of titles|Title Selection]] passed as input to the subfilter
|
||||||
op-neg-input: a [[selection of titles|Title Selection]] passed as input to the subfilter
|
op-neg-input: a [[selection of titles|Title Selection]] passed as input to the subfilter
|
||||||
op-neg-output: those input titles that are <<.em not>> returned from the subfilter <<.place S>>
|
op-neg-output: those input titles that are <<.em not>> returned from the subfilter <<.place S>>
|
||||||
@ -8,7 +8,7 @@ op-output: the [[selection of titles|Title Selection]] returned from the subfilt
|
|||||||
op-parameter: a [[filter expression|Filter Expression]]
|
op-parameter: a [[filter expression|Filter Expression]]
|
||||||
op-parameter-name: S
|
op-parameter-name: S
|
||||||
op-purpose: select titles from the operand interpreted as a [[filter expression|Filter Expression]]
|
op-purpose: select titles from the operand interpreted as a [[filter expression|Filter Expression]]
|
||||||
tags: [[Filter Operators]] [[Field Operators]] [[Selection Constructors]] [[Negatable Operators]]
|
tags: [[Filter Operators]] [[Field Operators]] [[Selection Constructors]] [[Negatable Operators]] [[Selection Constructors: Conditional]]
|
||||||
title: subfilter Operator
|
title: subfilter Operator
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user