diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt new file mode 100644 index 0000000000..50c988fa1f --- /dev/null +++ b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt @@ -0,0 +1,30 @@ +@ ProgramNode (location: (1,0)-(1,17)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,17)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,17)) + ├── flags: ignore_visibility + ├── 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: [] + ├── parameters: ∅ + ├── body: ∅ + ├── opening_loc: (1,11)-(1,13) = "do" + └── closing_loc: (1,14)-(1,17) = "end" |