aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/heredoc_with_escaped_newline_at_start.txt
blob: ed2abc7f397d6d89afdb932c62d3e12dab2bd0b3 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@ ProgramNode (location: (0...62))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...62))
    └── body: (length: 2)
        ├── @ CallNode (location: (0...25))
        │   ├── receiver:
        │   │   @ InterpolatedStringNode (location: (0...9))
        │   │   ├── opening_loc: (0...9) = "<<-TARGET"
        │   │   ├── parts: (length: 0)
        │   │   └── closing_loc: (27...34) = "TARGET\n"
        │   ├── call_operator_loc: (9...10) = "."
        │   ├── message_loc: (10...14) = "gsub"
        │   ├── opening_loc: ∅
        │   ├── arguments:
        │   │   @ ArgumentsNode (location: (15...25))
        │   │   └── arguments: (length: 2)
        │   │       ├── @ RegularExpressionNode (location: (15...21))
        │   │       │   ├── opening_loc: (15...16) = "/"
        │   │       │   ├── content_loc: (16...20) = "^\\s{"
        │   │       │   ├── closing_loc: (20...21) = "/"
        │   │       │   ├── unescaped: "^ {"
        │   │       │   └── flags: 
        │   │       └── @ StringNode (location: (23...25))
        │   │           ├── opening_loc: (23...24) = "'"
        │   │           ├── content_loc: (24...24) = ""
        │   │           ├── closing_loc: (24...25) = "'"
        │   │           └── unescaped: ""
        │   ├── closing_loc: ∅
        │   ├── block: ∅
        │   ├── flags: 
        │   └── name: "gsub"
        └── @ CallNode (location: (37...62))
            ├── receiver:
            │   @ InterpolatedStringNode (location: (37...46))
            │   ├── opening_loc: (37...46) = "<<-TARGET"
            │   ├── parts: (length: 0)
            │   └── closing_loc: (65...73) = "TARGET\r\n"
            ├── call_operator_loc: (46...47) = "."
            ├── message_loc: (47...51) = "gsub"
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (52...62))
            │   └── arguments: (length: 2)
            │       ├── @ RegularExpressionNode (location: (52...58))
            │       │   ├── opening_loc: (52...53) = "/"
            │       │   ├── content_loc: (53...57) = "^\\s{"
            │       │   ├── closing_loc: (57...58) = "/"
            │       │   ├── unescaped: "^ {"
            │       │   └── flags: 
            │       └── @ StringNode (location: (60...62))
            │           ├── opening_loc: (60...61) = "'"
            │           ├── content_loc: (61...61) = ""
            │           ├── closing_loc: (61...62) = "'"
            │           └── unescaped: ""
            ├── closing_loc: ∅
            ├── block: ∅
            ├── flags: 
            └── name: "gsub"