diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/aref_args_lit_assocs.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/aref_args_lit_assocs.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/aref_args_lit_assocs.txt b/test/prism/snapshots/seattlerb/aref_args_lit_assocs.txt new file mode 100644 index 0000000000..0e9454d780 --- /dev/null +++ b/test/prism/snapshots/seattlerb/aref_args_lit_assocs.txt @@ -0,0 +1,26 @@ +@ ProgramNode (location: (1,0)-(1,11)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,11)) + └── body: (length: 1) + └── @ ArrayNode (location: (1,0)-(1,11)) + ├── flags: ∅ + ├── elements: (length: 2) + │ ├── @ IntegerNode (location: (1,1)-(1,2)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── @ KeywordHashNode (location: (1,4)-(1,10)) + │ ├── flags: ∅ + │ └── elements: (length: 1) + │ └── @ AssocNode (location: (1,4)-(1,10)) + │ ├── key: + │ │ @ IntegerNode (location: (1,4)-(1,5)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ ├── value: + │ │ @ IntegerNode (location: (1,9)-(1,10)) + │ │ ├── flags: decimal + │ │ └── value: 3 + │ └── operator_loc: (1,6)-(1,8) = "=>" + ├── opening_loc: (1,0)-(1,1) = "[" + └── closing_loc: (1,10)-(1,11) = "]" |