summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/lasgn_ivar_env.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/seattlerb/lasgn_ivar_env.txt')
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_ivar_env.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/lasgn_ivar_env.txt b/test/prism/snapshots/seattlerb/lasgn_ivar_env.txt
new file mode 100644
index 0000000000..5675730477
--- /dev/null
+++ b/test/prism/snapshots/seattlerb/lasgn_ivar_env.txt
@@ -0,0 +1,13 @@
+@ ProgramNode (location: (1,0)-(1,7))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,7))
+ └── body: (length: 1)
+ └── @ InstanceVariableWriteNode (location: (1,0)-(1,7))
+ ├── name: :@a
+ ├── name_loc: (1,0)-(1,2) = "@a"
+ ├── value:
+ │ @ IntegerNode (location: (1,5)-(1,7))
+ │ ├── flags: decimal
+ │ └── value: 42
+ └── operator_loc: (1,3)-(1,4) = "="