mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 04:20:46 +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))))))
|