summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/ruby21_numbers.txt
blob: 34a3452d1b3539cfda4e9ba17894e12bc360cf07 (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
@ 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))
            │   │   └── numeric:
            │   │       @ IntegerNode (location: (1,5)-(1,6))
            │   │       ├── flags: decimal
            │   │       └── value: 2
            │   └── @ ImaginaryNode (location: (1,9)-(1,12))
            │       └── numeric:
            │           @ RationalNode (location: (1,9)-(1,11))
            │           └── numeric:
            │               @ IntegerNode (location: (1,9)-(1,10))
            │               ├── flags: decimal
            │               └── value: 3
            ├── opening_loc: (1,0)-(1,1) = "["
            └── closing_loc: (1,12)-(1,13) = "]"