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



public class PrimitiveRewriteNode extends Rewrite {

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

    public Primitive getPrimitive () {
        
        return (Primitive) arg [0] ;
    }

    public PrimitiveRewrite getPrimitiveRewrite () {
        
        return (PrimitiveRewrite) arg [1] ;
    }

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

    public PrimitiveRewriteNode setParms (Primitive arg0, PrimitiveRewrite arg1) {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        arg [0] = arg0 ;            /* Primitive */
        arg [1] = arg1 ;            /* PrimitiveRewrite */
        
        InitChildren () ;
        return (PrimitiveRewriteNode) this ;
    }

}
