summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/parse_line_dstr_soft_newline.txt
blob: 7ef56acb762dc4179d6b9b44db09a18d06a91e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ ProgramNode (location: (1,0)-(4,4))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(4,4))
    └── body: (length: 2)
        ├── @ InterpolatedStringNode (location: (1,0)-(3,2))
        │   ├── flags: ∅
        │   ├── opening_loc: (1,0)-(1,1) = "\""
        │   ├── parts: (length: 2)
        │   │   ├── @ StringNode (location: (1,1)-(2,0))
        │   │   │   ├── flags: frozen
        │   │   │   ├── opening_loc: ∅
        │   │   │   ├── content_loc: (1,1)-(2,0) = "a\n"
        │   │   │   ├── closing_loc: ∅
        │   │   │   └── unescaped: "a\n"
        │   │   └── @ EmbeddedStatementsNode (location: (2,0)-(3,1))
        │   │       ├── opening_loc: (2,0)-(2,2) = "\#{"
        │   │       ├── statements: ∅
        │   │       └── closing_loc: (3,0)-(3,1) = "}"
        │   └── closing_loc: (3,1)-(3,2) = "\""
        └── @ TrueNode (location: (4,0)-(4,4))