A list of statements.
Pattern
constants get wrapped in another layer of :const.
Visit the value of a write, which will be on the right-hand side of a write operator. Because implicit arrays can have splats, those could potentially be wrapped in an svalue node.
Fetch the start code units offset of the value, for the encoding that was configured on the repository.
Fetch the start code units column of the value, for the encoding that was configured on the repository.
alias foo bar ^^^^^^^^^^^^^
foo => bar | baz ^^^^^^^^^
Foo::Bar ^^^^^^^^
“foo #{bar}” ^^^^^^
foo, = 1 ^^^^^^^^
(foo, bar), bar = qux ^^^^^^^^^^
def foo(bar = 1); end ^^^^^^^
A shareable constant.
Visit the list of statements of a statements node. We support nil statements in the list. This would normally not be allowed by the structure of the prism parse tree, but we manually add them here so that we can mirror Ripper’s void stmt.