AST __t579 = _t; AST tmp2081_AST_in = (AST)_t;
AST __t583 = _t; AST tmp2084_AST_in = (AST)_t;
	public final void aggregate_opt(AST _t) throws RecognitionException {				AST aggregate_opt_AST_in = (_t == ASTNULL) ? null : (AST)_t;				if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case AVERAGE:		{			AST __t561 = _t;			AST tmp2072_AST_in = (AST)_t;			match(_t,AVERAGE);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t561;			_t = _t.getNextSibling();			break;		}		case COUNT:		{			AST __t563 = _t;			AST tmp2073_AST_in = (AST)_t;			match(_t,COUNT);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t563;			_t = _t.getNextSibling();			break;		}		case MAXIMUM:		{			AST __t565 = _t;			AST tmp2074_AST_in = (AST)_t;			match(_t,MAXIMUM);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t565;			_t = _t.getNextSibling();			break;		}		case MINIMUM:		{			AST __t567 = _t;			AST tmp2075_AST_in = (AST)_t;			match(_t,MINIMUM);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t567;			_t = _t.getNextSibling();			break;		}		case TOTAL:		{			AST __t569 = _t;			AST tmp2076_AST_in = (AST)_t;			match(_t,TOTAL);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t569;			_t = _t.getNextSibling();			break;		}		case SUBAVERAGE:		{			AST __t571 = _t;			AST tmp2077_AST_in = (AST)_t;			match(_t,SUBAVERAGE);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t571;			_t = _t.getNextSibling();			break;		}		case SUBCOUNT:		{			AST __t573 = _t;			AST tmp2078_AST_in = (AST)_t;			match(_t,SUBCOUNT);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t573;			_t = _t.getNextSibling();			break;		}		case SUBMAXIMUM:		{			AST __t575 = _t;			AST tmp2079_AST_in = (AST)_t;			match(_t,SUBMAXIMUM);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t575;			_t = _t.getNextSibling();			break;		}		case SUBMINIMUM:		{			AST __t577 = _t;			AST tmp2080_AST_in = (AST)_t;			match(_t,SUBMINIMUM);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t577;			_t = _t.getNextSibling();			break;		}		case SUBTOTAL:		{			AST __t579 = _t;			AST tmp2081_AST_in = (AST)_t;			match(_t,SUBTOTAL);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t579;			_t = _t.getNextSibling();			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		_retTree = _t;	}