class RSpec::Support::Source::ExpressionSequenceNode
so that it can be handled in the same way as other type node.
We wrap typeless arrays in this pseudo type node
]
]
[:vcall, [:@ident, “bar”, [1, 5]]]
[:vcall, [:@ident, “foo”, [1, 0]]],
[ # Typeless array
:program,
=> [
Ripper.sexp(‘foo; bar’)
but it exceptionally generates typeless arrays for expression sequence:
Basically ‘Ripper.sexp` generates arrays whose first element is a symbol (type of sexp),
@private
def raw_args
def raw_args sexp end
def type
def type :_expression_sequence end