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



public class CastExpr2 extends CastExpression {

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

    public AST_TypeName getAST_TypeName () {
        
        return (AST_TypeName) arg [0] ;
    }

    public UnaryExpressionNotPlusMinus getUnaryExpressionNotPlusMinus () {
        
        return (UnaryExpressionNotPlusMinus) arg [1] ;
    }

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

    public CastExpr2 setParms
    (AstToken tok0, AST_TypeName arg0, AstToken tok1, UnaryExpressionNotPlusMinus arg1)
    {
        
        arg = new AstNode [ARG_LENGTH] ;
        tok = new AstTokenInterface [TOK_LENGTH] ;
        
        tok [0] = tok0 ;            /* "(" */
        arg [0] = arg0 ;            /* AST_TypeName */
        tok [1] = tok1 ;            /* ")" */
        arg [1] = arg1 ;            /* UnaryExpressionNotPlusMinus */
        
        InitChildren () ;
        return (CastExpr2) this ;
    }

}
