Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -1,25 +1,25 @@
|
|||
switch .x, .y, .z {
|
||||
switch x, y, z {
|
||||
case true: ...
|
||||
# any are true
|
||||
case false, _: ...
|
||||
# .x == false
|
||||
# x == false
|
||||
case _, null, true: ...
|
||||
# .y == null or .z == true
|
||||
# y == null or z == true
|
||||
case xor _, true, true: ...
|
||||
# .y == true xor .z == true
|
||||
# y == true xor z == true
|
||||
}
|
||||
|
||||
switch 0 {
|
||||
case .x, .y: ...
|
||||
# .x or .y equals 0
|
||||
case x, y: ...
|
||||
# x or y equals 0
|
||||
...
|
||||
}
|
||||
|
||||
switch[and] .x, .y, .z {
|
||||
switch[and] x, y, z {
|
||||
case true: ...
|
||||
# all are true
|
||||
case false, _: ...
|
||||
# .x == false
|
||||
# x == false
|
||||
case _, null, true: ...
|
||||
# .y == null and .z == true
|
||||
# y == null and z == true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue