1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-25 02:57:19 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/concepts/Selection Constructors.tid

14 lines
913 B
Plaintext
Raw Normal View History

created: 20150117204109000
modified: 20150917193713204
tags: Filters
title: Selection Constructors
type: text/vnd.tiddlywiki
2018-03-05 11:36:16 +00:00
The output of a [[Filter Step]] depends on its [[operator|Filter Operators]]:
* Most operators derive their output from their input. For example, many of them output a subset of their input, and thus truly live up to the name of <<.word filters>>, narrowing down the overall output of the containing [[run|Filter Run]]. These operators are called <<.def "selection modifiers">>.
* A few operators ignore their input and generate an independent output instead. These are called <<.def "selection constructors">>: they construct an entirely new [[selection|Title Selection]].
A good example of a constructor is <<.olink title>>. The output of `[title[A]title[B]]` is just <<.tid B>>. But the <<.olink field>> operator is a modifier, so `[title[A]field:title[B]` outputs nothing at all.