### ----------------------------------------------------
### -- Red
### -- Licenses: Artistic-2.0
### -- Authors: Fernando Correa de Oliveira
### -- File: lib/Red/AST/Chained.rakumod
### ----------------------------------------------------
use Red::AST;
use Red::AST::Comment;
unit class Red::AST::Chained does Red::AST;

has Red::AST            $.filter;
has Int                 $.limit;
has Int                 $.offset is rw;
has                     &.post;
has Red::AST            @.order;
has Red::AST            @.group;
has                     @.table-list;
has Red::AST::Chained   $.next;

method args {
    $!filter, |@!order, |@!group, |(.args with $!next)
}

method returns {}
method find-column-name {}


