diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/ruby21_numbers.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/ruby21_numbers.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/ruby21_numbers.txt b/test/prism/snapshots/seattlerb/ruby21_numbers.txt new file mode 100644 index 0000000000..34a3452d1b --- /dev/null +++ b/test/prism/snapshots/seattlerb/ruby21_numbers.txt @@ -0,0 +1,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) = "]" |