aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
blob: 91e849c830a3a46d6eb335e0dfbf8deb6d2fabfa (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
@ ProgramNode (location: (1,0)-(1,17))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,17))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,17))
            ├── flags: ∅
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :desc
            ├── message_loc: (1,0)-(1,4) = "desc"
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (1,5)-(1,10))
            │   ├── flags: ∅
            │   └── arguments: (length: 1)
            │       └── @ StringNode (location: (1,5)-(1,10))
            │           ├── flags: ∅
            │           ├── opening_loc: (1,5)-(1,6) = "\""
            │           ├── content_loc: (1,6)-(1,9) = "foo"
            │           ├── closing_loc: (1,9)-(1,10) = "\""
            │           └── unescaped: "foo"
            ├── closing_loc: ∅
            └── block:
                @ BlockNode (location: (1,11)-(1,17))
                ├── locals: []
                ├── locals_body_index: 0
                ├── parameters: ∅
                ├── body: ∅
                ├── opening_loc: (1,11)-(1,13) = "do"
                └── closing_loc: (1,14)-(1,17) = "end"