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



public class RequireRuleNode extends RequireRule {

    final public static int ARG_LENGTH = 1 ;
    final public static int TOK_LENGTH = 1 ;

    public AstToken getIDENTIFIER () {
        
        return (AstToken) tok [0] ;
    }

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

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

    public RequireRuleNode setParms (AstToken tok0, AstOptNode arg0) {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        tok [0] = tok0 ;            /* IDENTIFIER */
        arg [0] = arg0 ;            /* [RequireType] */
        
        InitChildren () ;
        return (RequireRuleNode) this ;
    }

}
