class SyntaxTree::Parser
def on_mlhs_add_star(mlhs, part)
(nil | ARefField | Field | Ident | VarField) part
MLHS mlhs,
on_mlhs_add_star: (
:call-seq:
def on_mlhs_add_star(mlhs, part) beginning = consume_operator(:*) ending = part || beginning location = beginning.location.to(ending.location) arg_star = ArgStar.new(value: part, location: location) location = mlhs.location.to(location) unless mlhs.parts.empty? MLHS.new(parts: mlhs.parts << arg_star, location: location) end