This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/jmespath/example.jp
2022-07-20 16:49:56 +02:00

16 lines
497 B
Text

'@|&&||`'
|| [?@ == `[-1.1, 5.4e+3, -5.4E-3]`]
| `[1, true, -3]`,
hello('hom\'', 'fds', `false`, `nullandmore` `'6\`.7'`)
> locations[?state == `null` && foo >= `5.40` || bar < `6`].name."foo.bar"
| [?@ == &function(a, b)]
| [?@ == `"foo.bar"`]
| sort(@)
| {WashingtonCities: join(', ', @)}
|[][0][0:2:1][*]|[name, state.name]
| ![0]
== &(features[?type=='CDS' && qualifiers.translation])
|| min_by(people, &age)
|| max_by(other-people, &"other-age")
!= foo-bar
&& &"-foo-b \"a\"r" "other-string"