### ----------------------------------------------------
### -- Red
### -- Licenses: Artistic-2.0
### -- Authors: Fernando Correa de Oliveira
### -- File: lib/Red/AST/Function.rakumod
### ----------------------------------------------------
use Red::AST;

#| Represents a function call
unit class Red::AST::Function does Red::AST;

has Mu      @.args;
has Str     $.func;
has Mu:U    $.returns;

method args { |@!args }

method find-column-name { flat @!args>>.find-column-name }


