aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/dstr_str.txt
blob: 9881d0edba57bd97adcee2af4015eaa93d59337e (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
@ ProgramNode (location: (0...10))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...10))
    └── body: (length: 1)
        └── @ InterpolatedStringNode (location: (0...10))
            ├── opening_loc: (0...1) = "\""
            ├── parts: (length: 2)
            │   ├── @ EmbeddedStatementsNode (location: (1...7))
            │   │   ├── opening_loc: (1...3) = "\#{"
            │   │   ├── statements:
            │   │   │   @ StatementsNode (location: (3...6))
            │   │   │   └── body: (length: 1)
            │   │   │       └── @ StringNode (location: (3...6))
            │   │   │           ├── flags: ∅
            │   │   │           ├── opening_loc: (3...4) = "'"
            │   │   │           ├── content_loc: (4...5) = "a"
            │   │   │           ├── closing_loc: (5...6) = "'"
            │   │   │           └── unescaped: "a"
            │   │   └── closing_loc: (6...7) = "}"
            │   └── @ StringNode (location: (7...9))
            │       ├── flags: ∅
            │       ├── opening_loc: ∅
            │       ├── content_loc: (7...9) = " b"
            │       ├── closing_loc: ∅
            │       └── unescaped: " b"
            └── closing_loc: (9...10) = "\""