diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/endless_comparison_method.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/endless_comparison_method.txt | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/endless_comparison_method.txt b/test/prism/snapshots/whitequark/endless_comparison_method.txt new file mode 100644 index 0000000000..28ec3843bb --- /dev/null +++ b/test/prism/snapshots/whitequark/endless_comparison_method.txt @@ -0,0 +1,221 @@ +@ ProgramNode (location: (1,0)-(11,28)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(11,28)) + └── body: (length: 6) + ├── @ DefNode (location: (1,0)-(1,28)) + │ ├── name: :!= + │ ├── name_loc: (1,4)-(1,6) = "!=" + │ ├── receiver: ∅ + │ ├── parameters: + │ │ @ ParametersNode (location: (1,7)-(1,12)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (1,7)-(1,12)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :other + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (1,16)-(1,28)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (1,16)-(1,28)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something + │ │ ├── message_loc: (1,16)-(1,28) = "do_something" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── locals: [:other] + │ ├── def_keyword_loc: (1,0)-(1,3) = "def" + │ ├── operator_loc: ∅ + │ ├── lparen_loc: (1,6)-(1,7) = "(" + │ ├── rparen_loc: (1,12)-(1,13) = ")" + │ ├── equal_loc: (1,14)-(1,15) = "=" + │ └── end_keyword_loc: ∅ + ├── @ DefNode (location: (3,0)-(3,28)) + │ ├── name: :!= + │ ├── name_loc: (3,4)-(3,6) = "!=" + │ ├── receiver: ∅ + │ ├── parameters: + │ │ @ ParametersNode (location: (3,7)-(3,12)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (3,7)-(3,12)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :other + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (3,16)-(3,28)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (3,16)-(3,28)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something + │ │ ├── message_loc: (3,16)-(3,28) = "do_something" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── locals: [:other] + │ ├── def_keyword_loc: (3,0)-(3,3) = "def" + │ ├── operator_loc: ∅ + │ ├── lparen_loc: (3,6)-(3,7) = "(" + │ ├── rparen_loc: (3,12)-(3,13) = ")" + │ ├── equal_loc: (3,14)-(3,15) = "=" + │ └── end_keyword_loc: ∅ + ├── @ DefNode (location: (5,0)-(5,28)) + │ ├── name: :<= + │ ├── name_loc: (5,4)-(5,6) = "<=" + │ ├── receiver: ∅ + │ ├── parameters: + │ │ @ ParametersNode (location: (5,7)-(5,12)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (5,7)-(5,12)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :other + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (5,16)-(5,28)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (5,16)-(5,28)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something + │ │ ├── message_loc: (5,16)-(5,28) = "do_something" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── locals: [:other] + │ ├── def_keyword_loc: (5,0)-(5,3) = "def" + │ ├── operator_loc: ∅ + │ ├── lparen_loc: (5,6)-(5,7) = "(" + │ ├── rparen_loc: (5,12)-(5,13) = ")" + │ ├── equal_loc: (5,14)-(5,15) = "=" + │ └── end_keyword_loc: ∅ + ├── @ DefNode (location: (7,0)-(7,28)) + │ ├── name: :== + │ ├── name_loc: (7,4)-(7,6) = "==" + │ ├── receiver: ∅ + │ ├── parameters: + │ │ @ ParametersNode (location: (7,7)-(7,12)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (7,7)-(7,12)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :other + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (7,16)-(7,28)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (7,16)-(7,28)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something + │ │ ├── message_loc: (7,16)-(7,28) = "do_something" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── locals: [:other] + │ ├── def_keyword_loc: (7,0)-(7,3) = "def" + │ ├── operator_loc: ∅ + │ ├── lparen_loc: (7,6)-(7,7) = "(" + │ ├── rparen_loc: (7,12)-(7,13) = ")" + │ ├── equal_loc: (7,14)-(7,15) = "=" + │ └── end_keyword_loc: ∅ + ├── @ DefNode (location: (9,0)-(9,29)) + │ ├── name: :=== + │ ├── name_loc: (9,4)-(9,7) = "===" + │ ├── receiver: ∅ + │ ├── parameters: + │ │ @ ParametersNode (location: (9,8)-(9,13)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (9,8)-(9,13)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :other + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (9,17)-(9,29)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (9,17)-(9,29)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something + │ │ ├── message_loc: (9,17)-(9,29) = "do_something" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── locals: [:other] + │ ├── def_keyword_loc: (9,0)-(9,3) = "def" + │ ├── operator_loc: ∅ + │ ├── lparen_loc: (9,7)-(9,8) = "(" + │ ├── rparen_loc: (9,13)-(9,14) = ")" + │ ├── equal_loc: (9,15)-(9,16) = "=" + │ └── end_keyword_loc: ∅ + └── @ DefNode (location: (11,0)-(11,28)) + ├── name: :>= + ├── name_loc: (11,4)-(11,6) = ">=" + ├── receiver: ∅ + ├── parameters: + │ @ ParametersNode (location: (11,7)-(11,12)) + │ ├── requireds: (length: 1) + │ │ └── @ RequiredParameterNode (location: (11,7)-(11,12)) + │ │ ├── flags: ∅ + │ │ └── name: :other + │ ├── optionals: (length: 0) + │ ├── rest: ∅ + │ ├── posts: (length: 0) + │ ├── keywords: (length: 0) + │ ├── keyword_rest: ∅ + │ └── block: ∅ + ├── body: + │ @ StatementsNode (location: (11,16)-(11,28)) + │ └── body: (length: 1) + │ └── @ CallNode (location: (11,16)-(11,28)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :do_something + │ ├── message_loc: (11,16)-(11,28) = "do_something" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── locals: [:other] + ├── def_keyword_loc: (11,0)-(11,3) = "def" + ├── operator_loc: ∅ + ├── lparen_loc: (11,6)-(11,7) = "(" + ├── rparen_loc: (11,12)-(11,13) = ")" + ├── equal_loc: (11,14)-(11,15) = "=" + └── end_keyword_loc: ∅ |