Add missing parser snapshots.

This commit is contained in:
KtorZ 2024-09-01 18:12:46 +02:00
parent ddfe01ee88
commit 7bfc01413b
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,12 @@
---
source: crates/aiken-lang/src/parser/chain/field_access.rs
description: "Code:\n\nfoo.else"
---
FieldAccess {
location: 0..8,
label: "else",
container: Var {
location: 0..3,
name: "foo",
},
}

View File

@ -0,0 +1,16 @@
---
source: crates/aiken-lang/src/parser/chain/field_access.rs
description: "Code:\n\nfoo.bar.else"
---
FieldAccess {
location: 0..12,
label: "else",
container: FieldAccess {
location: 0..7,
label: "bar",
container: Var {
location: 0..3,
name: "foo",
},
},
}