diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/label_vs_string.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/label_vs_string.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/label_vs_string.txt b/test/prism/snapshots/seattlerb/label_vs_string.txt new file mode 100644 index 0000000000..c8d7af8f48 --- /dev/null +++ b/test/prism/snapshots/seattlerb/label_vs_string.txt @@ -0,0 +1,34 @@ +@ ProgramNode (location: (1,0)-(2,1)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(2,1)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(2,1)) + ├── flags: ∅ + ├── receiver: + │ @ CallNode (location: (1,0)-(1,4)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :_buf + │ ├── message_loc: (1,0)-(1,4) = "_buf" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── call_operator_loc: ∅ + ├── name: :<< + ├── message_loc: (1,5)-(1,7) = "<<" + ├── opening_loc: ∅ + ├── arguments: + │ @ ArgumentsNode (location: (1,8)-(2,1)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ StringNode (location: (1,8)-(2,1)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,8)-(1,9) = "'" + │ ├── content_loc: (1,9)-(2,0) = ":\n" + │ ├── closing_loc: (2,0)-(2,1) = "'" + │ └── unescaped: ":\n" + ├── closing_loc: ∅ + └── block: ∅ |