diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/flip2_env_lvar.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/flip2_env_lvar.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt new file mode 100644 index 0000000000..5a71ab6cda --- /dev/null +++ b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt @@ -0,0 +1,37 @@ +@ ProgramNode (location: (1,0)-(1,16)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,16)) + └── body: (length: 1) + └── @ IfNode (location: (1,0)-(1,16)) + ├── if_keyword_loc: (1,0)-(1,2) = "if" + ├── predicate: + │ @ FlipFlopNode (location: (1,3)-(1,7)) + │ ├── flags: ∅ + │ ├── left: + │ │ @ CallNode (location: (1,3)-(1,4)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :a + │ │ ├── message_loc: (1,3)-(1,4) = "a" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── right: + │ │ @ CallNode (location: (1,6)-(1,7)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :b + │ │ ├── message_loc: (1,6)-(1,7) = "b" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ └── operator_loc: (1,4)-(1,6) = ".." + ├── then_keyword_loc: (1,8)-(1,12) = "then" + ├── statements: ∅ + ├── consequent: ∅ + └── end_keyword_loc: (1,13)-(1,16) = "end" |