aiken/crates/aiken-lang/src/parser/expr/snapshots/or_chain.snap

33 lines
768 B
Plaintext

---
source: crates/aiken-lang/src/parser/expr/and_or_chain.rs
description: "Code:\n\nor {\n 1 == 2,\n something,\n}\n"
---
LogicalOpChain {
kind: Or,
expressions: [
BinOp {
location: 7..13,
name: Eq,
left: UInt {
location: 7..8,
value: "1",
base: Decimal {
numeric_underscore: false,
},
},
right: UInt {
location: 12..13,
value: "2",
base: Decimal {
numeric_underscore: false,
},
},
},
Var {
location: 17..26,
name: "something",
},
],
location: 0..29,
}