diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/return_call_assocs.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/return_call_assocs.txt | 218 |
1 files changed, 218 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/return_call_assocs.txt b/test/prism/snapshots/seattlerb/return_call_assocs.txt new file mode 100644 index 0000000000..8948f7879b --- /dev/null +++ b/test/prism/snapshots/seattlerb/return_call_assocs.txt @@ -0,0 +1,218 @@ +@ ProgramNode (location: (1,0)-(11,14)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(11,14)) + └── body: (length: 6) + ├── @ ReturnNode (location: (1,0)-(1,17)) + │ ├── flags: ∅ + │ ├── keyword_loc: (1,0)-(1,6) = "return" + │ └── arguments: + │ @ ArgumentsNode (location: (1,7)-(1,17)) + │ ├── flags: contains_keywords + │ └── arguments: (length: 2) + │ ├── @ IntegerNode (location: (1,7)-(1,8)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── @ KeywordHashNode (location: (1,10)-(1,17)) + │ ├── flags: symbol_keys + │ └── elements: (length: 1) + │ └── @ AssocNode (location: (1,10)-(1,17)) + │ ├── key: + │ │ @ SymbolNode (location: (1,10)-(1,12)) + │ │ ├── flags: forced_us_ascii_encoding + │ │ ├── opening_loc: (1,10)-(1,11) = ":" + │ │ ├── value_loc: (1,11)-(1,12) = "z" + │ │ ├── closing_loc: ∅ + │ │ └── unescaped: "z" + │ ├── value: + │ │ @ IntegerNode (location: (1,16)-(1,17)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── operator_loc: (1,13)-(1,15) = "=>" + ├── @ ReturnNode (location: (3,0)-(3,26)) + │ ├── flags: ∅ + │ ├── keyword_loc: (3,0)-(3,6) = "return" + │ └── arguments: + │ @ ArgumentsNode (location: (3,7)-(3,26)) + │ ├── flags: contains_keywords + │ └── arguments: (length: 2) + │ ├── @ IntegerNode (location: (3,7)-(3,8)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── @ KeywordHashNode (location: (3,10)-(3,26)) + │ ├── flags: symbol_keys + │ └── elements: (length: 2) + │ ├── @ AssocNode (location: (3,10)-(3,17)) + │ │ ├── key: + │ │ │ @ SymbolNode (location: (3,10)-(3,12)) + │ │ │ ├── flags: forced_us_ascii_encoding + │ │ │ ├── opening_loc: (3,10)-(3,11) = ":" + │ │ │ ├── value_loc: (3,11)-(3,12) = "z" + │ │ │ ├── closing_loc: ∅ + │ │ │ └── unescaped: "z" + │ │ ├── value: + │ │ │ @ IntegerNode (location: (3,16)-(3,17)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── operator_loc: (3,13)-(3,15) = "=>" + │ └── @ AssocNode (location: (3,19)-(3,26)) + │ ├── key: + │ │ @ SymbolNode (location: (3,19)-(3,21)) + │ │ ├── flags: forced_us_ascii_encoding + │ │ ├── opening_loc: (3,19)-(3,20) = ":" + │ │ ├── value_loc: (3,20)-(3,21) = "w" + │ │ ├── closing_loc: ∅ + │ │ └── unescaped: "w" + │ ├── value: + │ │ @ IntegerNode (location: (3,25)-(3,26)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ └── operator_loc: (3,22)-(3,24) = "=>" + ├── @ ReturnNode (location: (5,0)-(5,14)) + │ ├── flags: ∅ + │ ├── keyword_loc: (5,0)-(5,6) = "return" + │ └── arguments: + │ @ ArgumentsNode (location: (5,7)-(5,14)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ CallNode (location: (5,7)-(5,14)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :y + │ ├── message_loc: (5,7)-(5,8) = "y" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (5,9)-(5,14)) + │ │ ├── flags: contains_keywords + │ │ └── arguments: (length: 1) + │ │ └── @ KeywordHashNode (location: (5,9)-(5,14)) + │ │ ├── flags: symbol_keys + │ │ └── elements: (length: 1) + │ │ └── @ AssocNode (location: (5,9)-(5,14)) + │ │ ├── key: + │ │ │ @ SymbolNode (location: (5,9)-(5,11)) + │ │ │ ├── flags: forced_us_ascii_encoding + │ │ │ ├── opening_loc: (5,9)-(5,10) = ":" + │ │ │ ├── value_loc: (5,10)-(5,11) = "z" + │ │ │ ├── closing_loc: ∅ + │ │ │ └── unescaped: "z" + │ │ ├── value: + │ │ │ @ IntegerNode (location: (5,13)-(5,14)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── operator_loc: (5,11)-(5,13) = "=>" + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── @ ReturnNode (location: (7,0)-(7,12)) + │ ├── flags: ∅ + │ ├── keyword_loc: (7,0)-(7,6) = "return" + │ └── arguments: + │ @ ArgumentsNode (location: (7,7)-(7,12)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ CallNode (location: (7,7)-(7,12)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :y + │ ├── message_loc: (7,7)-(7,8) = "y" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (7,9)-(7,12)) + │ │ ├── flags: contains_keywords + │ │ └── arguments: (length: 1) + │ │ └── @ KeywordHashNode (location: (7,9)-(7,12)) + │ │ ├── flags: symbol_keys + │ │ └── elements: (length: 1) + │ │ └── @ AssocNode (location: (7,9)-(7,12)) + │ │ ├── key: + │ │ │ @ SymbolNode (location: (7,9)-(7,11)) + │ │ │ ├── flags: forced_us_ascii_encoding + │ │ │ ├── opening_loc: ∅ + │ │ │ ├── value_loc: (7,9)-(7,10) = "z" + │ │ │ ├── closing_loc: (7,10)-(7,11) = ":" + │ │ │ └── unescaped: "z" + │ │ ├── value: + │ │ │ @ IntegerNode (location: (7,11)-(7,12)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── operator_loc: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── @ ReturnNode (location: (9,0)-(9,13)) + │ ├── flags: ∅ + │ ├── keyword_loc: (9,0)-(9,6) = "return" + │ └── arguments: + │ @ ArgumentsNode (location: (9,7)-(9,13)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ CallNode (location: (9,7)-(9,13)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :y + │ ├── message_loc: (9,7)-(9,8) = "y" + │ ├── opening_loc: (9,8)-(9,9) = "(" + │ ├── arguments: + │ │ @ ArgumentsNode (location: (9,9)-(9,12)) + │ │ ├── flags: contains_keywords + │ │ └── arguments: (length: 1) + │ │ └── @ KeywordHashNode (location: (9,9)-(9,12)) + │ │ ├── flags: symbol_keys + │ │ └── elements: (length: 1) + │ │ └── @ AssocNode (location: (9,9)-(9,12)) + │ │ ├── key: + │ │ │ @ SymbolNode (location: (9,9)-(9,11)) + │ │ │ ├── flags: forced_us_ascii_encoding + │ │ │ ├── opening_loc: ∅ + │ │ │ ├── value_loc: (9,9)-(9,10) = "z" + │ │ │ ├── closing_loc: (9,10)-(9,11) = ":" + │ │ │ └── unescaped: "z" + │ │ ├── value: + │ │ │ @ IntegerNode (location: (9,11)-(9,12)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── operator_loc: ∅ + │ ├── closing_loc: (9,12)-(9,13) = ")" + │ └── block: ∅ + └── @ ReturnNode (location: (11,0)-(11,14)) + ├── flags: ∅ + ├── keyword_loc: (11,0)-(11,6) = "return" + └── arguments: + @ ArgumentsNode (location: (11,7)-(11,14)) + ├── flags: ∅ + └── arguments: (length: 1) + └── @ CallNode (location: (11,7)-(11,14)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :y + ├── message_loc: (11,7)-(11,8) = "y" + ├── opening_loc: (11,8)-(11,9) = "(" + ├── arguments: + │ @ ArgumentsNode (location: (11,9)-(11,13)) + │ ├── flags: contains_keywords + │ └── arguments: (length: 1) + │ └── @ KeywordHashNode (location: (11,9)-(11,13)) + │ ├── flags: ∅ + │ └── elements: (length: 1) + │ └── @ AssocNode (location: (11,9)-(11,13)) + │ ├── key: + │ │ @ CallNode (location: (11,9)-(11,10)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :z + │ │ ├── message_loc: (11,9)-(11,10) = "z" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── value: + │ │ @ IntegerNode (location: (11,12)-(11,13)) + │ │ ├── flags: decimal + │ │ └── value: 1 + │ └── operator_loc: (11,10)-(11,12) = "=>" + ├── closing_loc: (11,13)-(11,14) = ")" + └── block: ∅ |