summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/ruby21_numbers.txt
blob: e7eec943f827c87b9eababf446492eefde777bdf (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
@ ProgramNode (location: (1,0)-(1,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ ArrayNode (location: (1,0)-(1,13))
            ├── flags: ∅
            ├── elements: (length: 3)
            │   ├── @ ImaginaryNode (location: (1,1)-(1,3))
            │   │   └── numeric:
            │   │       @ IntegerNode (location: (1,1)-(1,2))
            │   │       ├── flags: decimal
            │   │       └── value: 1
            │   ├── @ RationalNode (location: (1,5)-(1,7))
            │   │   ├── flags: decimal
            │   │   ├── numerator: 2
            │   │   └── denominator: 1
            │   └── @ ImaginaryNode (location: (1,9)-(1,12))
            │       └── numeric:
            │           @ RationalNode (location: (1,9)-(1,11))
            │           ├── flags: decimal
            │           ├── numerator: 3
            │           └── denominator: 1
            ├── opening_loc: (1,0)-(1,1) = "["
            └── closing_loc: (1,12)-(1,13) = "]"