mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-13 05:42:59 +00:00
50 lines
568 B
Text
50 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))))))
|