diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/bug191.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/bug191.txt | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/bug191.txt b/test/prism/snapshots/seattlerb/bug191.txt new file mode 100644 index 0000000000..69835ab1d0 --- /dev/null +++ b/test/prism/snapshots/seattlerb/bug191.txt @@ -0,0 +1,87 @@ +@ ProgramNode (location: (1,0)-(3,9)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(3,9)) + └── body: (length: 2) + ├── @ IfNode (location: (1,0)-(1,9)) + │ ├── if_keyword_loc: ∅ + │ ├── predicate: + │ │ @ CallNode (location: (1,0)-(1,1)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :a + │ │ ├── message_loc: (1,0)-(1,1) = "a" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── then_keyword_loc: (1,2)-(1,3) = "?" + │ ├── statements: + │ │ @ StatementsNode (location: (1,4)-(1,6)) + │ │ └── body: (length: 1) + │ │ └── @ StringNode (location: (1,4)-(1,6)) + │ │ ├── flags: ∅ + │ │ ├── opening_loc: (1,4)-(1,5) = "\"" + │ │ ├── content_loc: (1,5)-(1,5) = "" + │ │ ├── closing_loc: (1,5)-(1,6) = "\"" + │ │ └── unescaped: "" + │ ├── consequent: + │ │ @ ElseNode (location: (1,6)-(1,9)) + │ │ ├── else_keyword_loc: (1,6)-(1,7) = ":" + │ │ ├── statements: + │ │ │ @ StatementsNode (location: (1,8)-(1,9)) + │ │ │ └── body: (length: 1) + │ │ │ └── @ CallNode (location: (1,8)-(1,9)) + │ │ │ ├── flags: variable_call, ignore_visibility + │ │ │ ├── receiver: ∅ + │ │ │ ├── call_operator_loc: ∅ + │ │ │ ├── name: :b + │ │ │ ├── message_loc: (1,8)-(1,9) = "b" + │ │ │ ├── opening_loc: ∅ + │ │ │ ├── arguments: ∅ + │ │ │ ├── closing_loc: ∅ + │ │ │ └── block: ∅ + │ │ └── end_keyword_loc: ∅ + │ └── end_keyword_loc: ∅ + └── @ IfNode (location: (3,0)-(3,9)) + ├── if_keyword_loc: ∅ + ├── predicate: + │ @ CallNode (location: (3,0)-(3,1)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :a + │ ├── message_loc: (3,0)-(3,1) = "a" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── then_keyword_loc: (3,2)-(3,3) = "?" + ├── statements: + │ @ StatementsNode (location: (3,4)-(3,6)) + │ └── body: (length: 1) + │ └── @ StringNode (location: (3,4)-(3,6)) + │ ├── flags: ∅ + │ ├── opening_loc: (3,4)-(3,5) = "'" + │ ├── content_loc: (3,5)-(3,5) = "" + │ ├── closing_loc: (3,5)-(3,6) = "'" + │ └── unescaped: "" + ├── consequent: + │ @ ElseNode (location: (3,6)-(3,9)) + │ ├── else_keyword_loc: (3,6)-(3,7) = ":" + │ ├── statements: + │ │ @ StatementsNode (location: (3,8)-(3,9)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (3,8)-(3,9)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :b + │ │ ├── message_loc: (3,8)-(3,9) = "b" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ └── end_keyword_loc: ∅ + └── end_keyword_loc: ∅ |