summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt
blob: 4a675d67c48f25a64083fdd089515bc4dae611ea (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
@ ProgramNode (location: (1,0)-(1,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,13))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :a
            ├── message_loc: (1,0)-(1,1) = "a"
            ├── opening_loc: (1,1)-(1,2) = "("
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(1,12))
            │   ├── flags: ∅
            │   └── arguments: (length: 2)
            │       ├── @ StringNode (location: (1,2)-(1,6))
            │       │   ├── flags: ∅
            │       │   ├── opening_loc: (1,2)-(1,3) = "\""
            │       │   ├── content_loc: (1,3)-(1,5) = "\\n"
            │       │   ├── closing_loc: (1,5)-(1,6) = "\""
            │       │   └── unescaped: "\n"
            │       └── @ TrueNode (location: (1,8)-(1,12))
            ├── closing_loc: (1,12)-(1,13) = ")"
            └── block: ∅