summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt
blob: 7a01f8d6d1c801cf5bee4ac82ff3c62dc031bc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ ProgramNode (location: (1,0)-(1,10))
├── locals: [:s]
└── statements:
    @ StatementsNode (location: (1,0)-(1,10))
    └── body: (length: 1)
        └── @ LocalVariableWriteNode (location: (1,0)-(1,10))
            ├── name: :s
            ├── depth: 0
            ├── name_loc: (1,0)-(1,1) = "s"
            ├── value:
            │   @ StringNode (location: (1,4)-(1,10))
            │   ├── flags: forced_utf8_encoding
            │   ├── opening_loc: (1,4)-(1,10) = "<<-EOS"
            │   ├── content_loc: (2,0)-(4,0) = "a\\247b\ncöd\n"
            │   ├── closing_loc: (4,0)-(5,0) = "EOS\n"
            │   └── unescaped: "a\xA7b\ncöd\n"
            └── operator_loc: (1,2)-(1,3) = "="