diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_dot3.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_dot3.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot3.txt b/test/prism/snapshots/seattlerb/parse_line_dot3.txt new file mode 100644 index 0000000000..6364c1f136 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_dot3.txt @@ -0,0 +1,51 @@ +@ ProgramNode (location: (1,0)-(5,1)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(5,1)) + └── body: (length: 3) + ├── @ RangeNode (location: (1,0)-(2,1)) + │ ├── flags: exclude_end + │ ├── left: + │ │ @ IntegerNode (location: (1,0)-(1,1)) + │ │ ├── flags: decimal + │ │ └── value: 0 + │ ├── right: + │ │ @ IntegerNode (location: (2,0)-(2,1)) + │ │ ├── flags: decimal + │ │ └── value: 4 + │ └── operator_loc: (1,1)-(1,4) = "..." + ├── @ RangeNode (location: (3,0)-(4,1)) + │ ├── flags: exclude_end + │ ├── left: + │ │ @ 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: ∅ + │ ├── right: + │ │ @ CallNode (location: (4,0)-(4,1)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :b + │ │ ├── message_loc: (4,0)-(4,1) = "b" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ └── operator_loc: (3,1)-(3,4) = "..." + └── @ CallNode (location: (5,0)-(5,1)) + ├── flags: variable_call, ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :c + ├── message_loc: (5,0)-(5,1) = "c" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + └── block: ∅ |