diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/masgn.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/masgn.txt | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/masgn.txt b/test/prism/snapshots/whitequark/masgn.txt new file mode 100644 index 0000000000..32e46bfdf7 --- /dev/null +++ b/test/prism/snapshots/whitequark/masgn.txt @@ -0,0 +1,83 @@ +@ ProgramNode (location: (1,0)-(5,20)) +├── locals: [:foo, :bar, :baz] +└── statements: + @ StatementsNode (location: (1,0)-(5,20)) + └── body: (length: 3) + ├── @ MultiWriteNode (location: (1,0)-(1,17)) + │ ├── lefts: (length: 2) + │ │ ├── @ LocalVariableTargetNode (location: (1,1)-(1,4)) + │ │ │ ├── name: :foo + │ │ │ └── depth: 0 + │ │ └── @ LocalVariableTargetNode (location: (1,6)-(1,9)) + │ │ ├── name: :bar + │ │ └── depth: 0 + │ ├── rest: ∅ + │ ├── rights: (length: 0) + │ ├── lparen_loc: (1,0)-(1,1) = "(" + │ ├── rparen_loc: (1,9)-(1,10) = ")" + │ ├── operator_loc: (1,11)-(1,12) = "=" + │ └── value: + │ @ ArrayNode (location: (1,13)-(1,17)) + │ ├── flags: ∅ + │ ├── elements: (length: 2) + │ │ ├── @ IntegerNode (location: (1,13)-(1,14)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── @ IntegerNode (location: (1,16)-(1,17)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ ├── opening_loc: ∅ + │ └── closing_loc: ∅ + ├── @ MultiWriteNode (location: (3,0)-(3,15)) + │ ├── lefts: (length: 2) + │ │ ├── @ LocalVariableTargetNode (location: (3,0)-(3,3)) + │ │ │ ├── name: :foo + │ │ │ └── depth: 0 + │ │ └── @ LocalVariableTargetNode (location: (3,5)-(3,8)) + │ │ ├── name: :bar + │ │ └── depth: 0 + │ ├── rest: ∅ + │ ├── rights: (length: 0) + │ ├── lparen_loc: ∅ + │ ├── rparen_loc: ∅ + │ ├── operator_loc: (3,9)-(3,10) = "=" + │ └── value: + │ @ ArrayNode (location: (3,11)-(3,15)) + │ ├── flags: ∅ + │ ├── elements: (length: 2) + │ │ ├── @ IntegerNode (location: (3,11)-(3,12)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── @ IntegerNode (location: (3,14)-(3,15)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ ├── opening_loc: ∅ + │ └── closing_loc: ∅ + └── @ MultiWriteNode (location: (5,0)-(5,20)) + ├── lefts: (length: 3) + │ ├── @ LocalVariableTargetNode (location: (5,0)-(5,3)) + │ │ ├── name: :foo + │ │ └── depth: 0 + │ ├── @ LocalVariableTargetNode (location: (5,5)-(5,8)) + │ │ ├── name: :bar + │ │ └── depth: 0 + │ └── @ LocalVariableTargetNode (location: (5,10)-(5,13)) + │ ├── name: :baz + │ └── depth: 0 + ├── rest: ∅ + ├── rights: (length: 0) + ├── lparen_loc: ∅ + ├── rparen_loc: ∅ + ├── operator_loc: (5,14)-(5,15) = "=" + └── value: + @ ArrayNode (location: (5,16)-(5,20)) + ├── flags: ∅ + ├── elements: (length: 2) + │ ├── @ IntegerNode (location: (5,16)-(5,17)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── @ IntegerNode (location: (5,19)-(5,20)) + │ ├── flags: decimal + │ └── value: 2 + ├── opening_loc: ∅ + └── closing_loc: ∅ |