summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/pct_nl.txt
blob: 1009fcb51d02f7146d1943bc2e9efbde6e210e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ ProgramNode (location: (1,0)-(3,0))
├── locals: [:x]
└── statements:
    @ StatementsNode (location: (1,0)-(3,0))
    └── body: (length: 1)
        └── @ LocalVariableWriteNode (location: (1,0)-(3,0))
            ├── name: :x
            ├── depth: 0
            ├── name_loc: (1,0)-(1,1) = "x"
            ├── value:
            │   @ StringNode (location: (1,4)-(3,0))
            │   ├── flags: ∅
            │   ├── opening_loc: (1,4)-(2,0) = "%\n"
            │   ├── content_loc: (2,0)-(2,0) = ""
            │   ├── closing_loc: (2,0)-(3,0) = "\n"
            │   └── unescaped: ""
            └── operator_loc: (1,2)-(1,3) = "="