diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/hash_label.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/hash_label.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/hash_label.txt b/test/prism/snapshots/whitequark/hash_label.txt new file mode 100644 index 0000000000..fdf7a21ed0 --- /dev/null +++ b/test/prism/snapshots/whitequark/hash_label.txt @@ -0,0 +1,22 @@ +@ ProgramNode (location: (1,0)-(1,10)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,10)) + └── body: (length: 1) + └── @ HashNode (location: (1,0)-(1,10)) + ├── opening_loc: (1,0)-(1,1) = "{" + ├── elements: (length: 1) + │ └── @ AssocNode (location: (1,2)-(1,8)) + │ ├── key: + │ │ @ SymbolNode (location: (1,2)-(1,6)) + │ │ ├── flags: forced_us_ascii_encoding + │ │ ├── opening_loc: ∅ + │ │ ├── value_loc: (1,2)-(1,5) = "foo" + │ │ ├── closing_loc: (1,5)-(1,6) = ":" + │ │ └── unescaped: "foo" + │ ├── value: + │ │ @ IntegerNode (location: (1,7)-(1,8)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ └── operator_loc: ∅ + └── closing_loc: (1,9)-(1,10) = "}" |