AST tmp2511_AST_in = (AST)_t;
AST tmp2512_AST_in = (AST)_t;
	public final void sqlaggregatefunc_arg(AST _t) throws RecognitionException {				AST sqlaggregatefunc_arg_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST tmp2510_AST_in = (AST)_t;		match(_t,LEFTPAREN);		_t = _t.getNextSibling();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case DISTINCT:		{			AST tmp2511_AST_in = (AST)_t;			match(_t,DISTINCT);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case LEFTPAREN:			{				AST tmp2512_AST_in = (AST)_t;				match(_t,LEFTPAREN);				_t = _t.getNextSibling();				field(_t);				_t = _retTree;				AST tmp2513_AST_in = (AST)_t;				match(_t,RIGHTPAREN);				_t = _t.getNextSibling();				break;			}			case Field_ref:			{				field(_t);				_t = _retTree;				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			break;		}		case STAR:		{			AST tmp2514_AST_in = (AST)_t;			match(_t,STAR);			_t = _t.getNextSibling();			break;		}		default:			if (_t==null) _t=ASTNULL;			if ((_tokenSet_43.member(_t.getType()))) {				{				if (_t==null) _t=ASTNULL;				if ((_t.getType()==ALL)) {					AST tmp2515_AST_in = (AST)_t;					match(_t,ALL);					_t = _t.getNextSibling();				}				else if ((_tokenSet_42.member(_t.getType()))) {				}				else {					throw new NoViableAltException(_t);				}								}				sqlscalar(_t);				_t = _retTree;			}		else {			throw new NoViableAltException(_t);		}		}		}		AST tmp2516_AST_in = (AST)_t;		match(_t,RIGHTPAREN);		_t = _t.getNextSibling();		_retTree = _t;	}