summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/masgn.txt
blob: 32e46bfdf7a7efcf9ffb93f4c52f8abbf7b853ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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: ∅