summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/str_pct_nested_nested.txt
blob: 22c30318323a6585a0b367a0d46bb031b2e7d2d5 (plain)
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
@ ProgramNode (location: (1,0)-(1,20))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,20))
    └── body: (length: 1)
        └── @ InterpolatedStringNode (location: (1,0)-(1,20))
            ├── flags: ∅
            ├── opening_loc: (1,0)-(1,2) = "%{"
            ├── parts: (length: 3)
            │   ├── @ StringNode (location: (1,2)-(1,5))
            │   │   ├── flags: frozen
            │   │   ├── opening_loc: ∅
            │   │   ├── content_loc: (1,2)-(1,5) = " { "
            │   │   ├── closing_loc: ∅
            │   │   └── unescaped: " { "
            │   ├── @ EmbeddedStatementsNode (location: (1,5)-(1,16))
            │   │   ├── opening_loc: (1,5)-(1,7) = "\#{"
            │   │   ├── statements:
            │   │   │   @ StatementsNode (location: (1,8)-(1,14))
            │   │   │   └── body: (length: 1)
            │   │   │       └── @ InterpolatedStringNode (location: (1,8)-(1,14))
            │   │   │           ├── flags: ∅
            │   │   │           ├── opening_loc: (1,8)-(1,9) = "\""
            │   │   │           ├── parts: (length: 1)
            │   │   │           │   └── @ EmbeddedStatementsNode (location: (1,9)-(1,13))
            │   │   │           │       ├── opening_loc: (1,9)-(1,11) = "\#{"
            │   │   │           │       ├── statements:
            │   │   │           │       │   @ StatementsNode (location: (1,11)-(1,12))
            │   │   │           │       │   └── body: (length: 1)
            │   │   │           │       │       └── @ IntegerNode (location: (1,11)-(1,12))
            │   │   │           │       │           ├── flags: decimal
            │   │   │           │       │           └── value: 1
            │   │   │           │       └── closing_loc: (1,12)-(1,13) = "}"
            │   │   │           └── closing_loc: (1,13)-(1,14) = "\""
            │   │   └── closing_loc: (1,15)-(1,16) = "}"
            │   └── @ StringNode (location: (1,16)-(1,19))
            │       ├── flags: frozen
            │       ├── opening_loc: ∅
            │       ├── content_loc: (1,16)-(1,19) = " } "
            │       ├── closing_loc: ∅
            │       └── unescaped: " } "
            └── closing_loc: (1,19)-(1,20) = "}"