diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/unary_num_pow_precedence.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/unary_num_pow_precedence.txt | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt b/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt new file mode 100644 index 0000000000..e14b0567e7 --- /dev/null +++ b/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt @@ -0,0 +1,80 @@ +@ ProgramNode (location: (1,0)-(5,10)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(5,10)) + └── body: (length: 3) + ├── @ CallNode (location: (1,0)-(1,10)) + │ ├── flags: ∅ + │ ├── receiver: + │ │ @ FloatNode (location: (1,0)-(1,4)) + │ │ └── value: 2.0 + │ ├── call_operator_loc: ∅ + │ ├── name: :** + │ ├── message_loc: (1,5)-(1,7) = "**" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (1,8)-(1,10)) + │ │ ├── flags: ∅ + │ │ └── arguments: (length: 1) + │ │ └── @ IntegerNode (location: (1,8)-(1,10)) + │ │ ├── flags: decimal + │ │ └── value: 10 + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── @ CallNode (location: (3,0)-(3,8)) + │ ├── flags: ∅ + │ ├── receiver: + │ │ @ CallNode (location: (3,1)-(3,8)) + │ │ ├── flags: ∅ + │ │ ├── receiver: + │ │ │ @ IntegerNode (location: (3,1)-(3,2)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 2 + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :** + │ │ ├── message_loc: (3,3)-(3,5) = "**" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: + │ │ │ @ ArgumentsNode (location: (3,6)-(3,8)) + │ │ │ ├── flags: ∅ + │ │ │ └── arguments: (length: 1) + │ │ │ └── @ IntegerNode (location: (3,6)-(3,8)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 10 + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :-@ + │ ├── message_loc: (3,0)-(3,1) = "-" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + └── @ CallNode (location: (5,0)-(5,10)) + ├── flags: ∅ + ├── receiver: + │ @ CallNode (location: (5,1)-(5,10)) + │ ├── flags: ∅ + │ ├── receiver: + │ │ @ FloatNode (location: (5,1)-(5,4)) + │ │ └── value: 2.0 + │ ├── call_operator_loc: ∅ + │ ├── name: :** + │ ├── message_loc: (5,5)-(5,7) = "**" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (5,8)-(5,10)) + │ │ ├── flags: ∅ + │ │ └── arguments: (length: 1) + │ │ └── @ IntegerNode (location: (5,8)-(5,10)) + │ │ ├── flags: decimal + │ │ └── value: 10 + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── call_operator_loc: ∅ + ├── name: :-@ + ├── message_loc: (5,0)-(5,1) = "-" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + └── block: ∅ |