---
source: crates/backyard-parser/tests/comment.rs
expression: asts
snapshot_kind: text
---
node_type: program
children:
- node_type: if
condition:
node_type: boolean
is_true: false
loc:
start:
line: 1
column: 4
offset: 4
end:
line: 1
column: 4
offset: 4
leadings: ~
trailings: ~
valid:
node_type: block
statements: []
loc:
start:
line: 1
column: 11
offset: 11
end:
line: 2
column: 0
offset: 13
leadings: ~
trailings:
- node_type: comment_line
comment:
- 32
- 116
- 101
- 115
- 116
loc:
start:
line: 3
column: 0
offset: 15
end:
line: 3
column: 0
offset: 15
leadings: ~
trailings: ~
invalid: ~
is_short: false
loc:
start:
line: 1
column: 0
offset: 0
end:
line: 3
column: 0
offset: 15
leadings: ~
trailings: ~
loc:
start:
line: 1
column: 0
offset: 0
end:
line: 3
column: 0
offset: 15
leadings: ~
trailings: ~