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



public class PatternNode extends PrimitiveRewrite {

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

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

    public Pattern getPattern () {
        
        AstNode node = arg[0].arg [0] ;
        return (node != null) ? (Pattern) node : null ;
    }

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

    public PatternNode setParms (AstOptNode arg0, AstOptNode arg1) {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        arg [0] = arg0 ;            /* [Pattern] */
        arg [1] = arg1 ;            /* [ClassName] */
        
        InitChildren () ;
        return (PatternNode) this ;
    }

}
