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



public class UmInterDecl extends UnmodifiedInterfaceDeclaration {

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

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

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

    public QName getQName () {
        
        return (QName) arg [0] ;
    }

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

    public UmInterDecl setParms
    (AstToken tok0, QName arg0, AstOptNode arg1, AstToken tok1, AstOptNode arg2, AstToken tok2)
    {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        tok [0] = tok0 ;            /* "interface" */
        arg [0] = arg0 ;            /* QName */
        arg [1] = arg1 ;            /* [ IntExtClause ] */
        tok [1] = tok1 ;            /* "{" */
        arg [2] = arg2 ;            /* [ InterfaceMemberDeclarations ] */
        tok [2] = tok2 ;            /* "}" */
        
        InitChildren () ;
        return (UmInterDecl) this ;
    }

}
