1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
source: crates/aiken-lang/src/parser/expr/assignment.rs
description: "Code:\n\nlet a = { let b = 42 }"
---
Assignment {
location: 0..22,
value: Sequence {
location: 8..22,
expressions: [
Assignment {
location: 10..20,
value: UInt {
location: 18..20,
value: "42",
base: Decimal {
numeric_underscore: false,
},
},
patterns: [
AssignmentPattern {
pattern: Var {
location: 14..15,
name: "b",
},
annotation: None,
location: 14..15,
},
],
kind: Let {
backpassing: false,
},
comment: None,
},
],
},
patterns: [
AssignmentPattern {
pattern: Var {
location: 4..5,
name: "a",
},
annotation: None,
location: 4..5,
},
],
kind: Let {
backpassing: false,
},
comment: None,
}