“foo #{bar}” ^^^^^^^^^^^^
‘foo #{bar}` ^^^^^^^^^^^^
/(?<foo>foo)/ =~ bar ^^^^^^^^^^^^^^^^^^^^
foo, bar = baz ^^^^^^^^^^^^^^
Visit a destructured positional parameter node.
__ENCODING__ ^^^^^^^^^^^^
__FILE__ ^^^^^^^^
__LINE__ ^^^^^^^^
Visit a heredoc node that is representing a string.
Visit a heredoc node that is representing an xstring.
Interpolate substitution vars in the arg (i.e. $(DEFFILE))
Example:
x.foo ^^^^ x.foo(42) ^^^^ x&.foo ^^^^^ x[42] ^^^^ x.foo = 1 ^^^^^^ x[42] = 1 ^^^^^^ x + 1 ^ +x ^ foo(42) ^^^ foo 42 ^^^ foo ^^^
Example:
x.foo(42) ^^ x[42] ^^ x.foo = 1 ^ x[42] = 1 ^^^^^^^ x[] = 1 ^^^^^ x + 1 ^ foo(42) ^^ foo 42 ^^
Foo ||= bar
becomes
defined?(Foo) ? Foo : Foo = bar
Reset nil attributes to their default values to make the spec valid