diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/while_post.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/while_post.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/while_post.txt b/test/prism/snapshots/whitequark/while_post.txt new file mode 100644 index 0000000000..63c6c84a24 --- /dev/null +++ b/test/prism/snapshots/whitequark/while_post.txt @@ -0,0 +1,42 @@ +@ ProgramNode (location: (1,0)-(1,24)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,24)) + └── body: (length: 1) + └── @ WhileNode (location: (1,0)-(1,24)) + ├── flags: begin_modifier + ├── keyword_loc: (1,15)-(1,20) = "while" + ├── closing_loc: ∅ + ├── predicate: + │ @ CallNode (location: (1,21)-(1,24)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :foo + │ ├── message_loc: (1,21)-(1,24) = "foo" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + └── statements: + @ StatementsNode (location: (1,0)-(1,14)) + └── body: (length: 1) + └── @ BeginNode (location: (1,0)-(1,14)) + ├── begin_keyword_loc: (1,0)-(1,5) = "begin" + ├── statements: + │ @ StatementsNode (location: (1,6)-(1,10)) + │ └── body: (length: 1) + │ └── @ CallNode (location: (1,6)-(1,10)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :meth + │ ├── message_loc: (1,6)-(1,10) = "meth" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── rescue_clause: ∅ + ├── else_clause: ∅ + ├── ensure_clause: ∅ + └── end_keyword_loc: (1,11)-(1,14) = "end" |