mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
49 lines
568 B
Text
49 lines
568 B
Text
==================
|
|
Identifiers
|
|
==================
|
|
|
|
abc12
|
|
|
|
---
|
|
|
|
(source (identifier))
|
|
|
|
==================
|
|
Negation
|
|
==================
|
|
|
|
!abc
|
|
|
|
---
|
|
|
|
(source (not (identifier)))
|
|
|
|
==================
|
|
And/Or
|
|
==================
|
|
|
|
a || b && c && d
|
|
|
|
---
|
|
|
|
(source
|
|
(or
|
|
(identifier)
|
|
(and
|
|
(and (identifier) (identifier))
|
|
(identifier))))
|
|
|
|
==================
|
|
Expressions
|
|
==================
|
|
|
|
a && (b == c || d != e)
|
|
|
|
---
|
|
|
|
(source
|
|
(and
|
|
(identifier)
|
|
(parenthesized (or
|
|
(equal (identifier) (identifier))
|
|
(not_equal (identifier) (identifier))))))
|