// Automatically generated code.  Edit at your own risk!
// Generated by bali2jak v2002.09.03.



public class MainModel extends Model {

    final public static int ARG_LENGTH = 3 ;
    final public static int TOK_LENGTH = 1 /* Kludge! */ ;

    public Cons getCons () {
        
        AstNode node = arg[1].arg [0] ;
        return (node != null) ? (Cons) node : null ;
    }

    public Prods getProds () {
        
        return (Prods) arg [0] ;
    }

    public Vars getVars () {
        
        AstNode node = arg[2].arg [0] ;
        return (node != null) ? (Vars) node : null ;
    }

    public boolean[] printorder () {
        
        return new boolean[] {false, false, false} ;
    }

    public MainModel setParms (Prods arg0, AstOptNode arg1, AstOptNode arg2) {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        arg [0] = arg0 ;            /* Prods */
        arg [1] = arg1 ;            /* [Cons] */
        arg [2] = arg2 ;            /* [Vars] */
        
        InitChildren () ;
        return (MainModel) this ;
    }

}
