diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_block.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_block.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_block.txt b/test/prism/snapshots/seattlerb/parse_line_block.txt new file mode 100644 index 0000000000..623c08d50e --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_block.txt @@ -0,0 +1,30 @@ +@ ProgramNode (location: (1,0)-(2,3)) +├── locals: [:a] +└── statements: + @ StatementsNode (location: (1,0)-(2,3)) + └── body: (length: 2) + ├── @ LocalVariableWriteNode (location: (1,0)-(1,6)) + │ ├── name: :a + │ ├── depth: 0 + │ ├── name_loc: (1,0)-(1,1) = "a" + │ ├── value: + │ │ @ IntegerNode (location: (1,4)-(1,6)) + │ │ ├── flags: decimal + │ │ └── value: 42 + │ └── operator_loc: (1,2)-(1,3) = "=" + └── @ CallNode (location: (2,0)-(2,3)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :p + ├── message_loc: (2,0)-(2,1) = "p" + ├── opening_loc: ∅ + ├── arguments: + │ @ ArgumentsNode (location: (2,2)-(2,3)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ LocalVariableReadNode (location: (2,2)-(2,3)) + │ ├── name: :a + │ └── depth: 0 + ├── closing_loc: ∅ + └── block: ∅ |