Expand description
What the values behind a loop variable or a piped stream can look like, as far as flags go.
The locus bindings beside this one say WHERE such a value points. They cannot say whether the
value is a flag: for f in -delete and echo -delete | xargs both bind something that reads
as a worktree path while the command receives -delete.
Structs§
- Facts
- A small set of yes/no facts, one bit each.
Tnames what they are facts about, so a bit that means one thing in one set cannot be tested in another. - Item
Shape Guard
Enums§
- Binding
- What
$nameis bound to, bysuper::expand_vars’ precedence: a loop (unknown items) or a certain value. - Items
- Marks the facts about a set of values a variable or stream may take.
Constants§
- EMPTY
- Some value may be empty, so an unquoted use becomes none.
- LEAD
- Some value may begin with
-. - SPLIT
- Some value may hold a blank, so an unquoted use becomes several words.
- UNKNOWN
- Nothing is known about the values.
Functions§
- binding
- bound_
names - Every name a loop or an assignment has bound so far.
- enter_
loop_ shape - enter_
stdin_ shape - loop_
shape - The innermost shape bound to
name;UNKNOWNwhen none is. - stdin_
shape - The shape of the items on stdin;
UNKNOWNwhen no stage set one.