AST tmp44_AST_in = (AST)_t;
AST tmp50_AST_in = (AST)_t;
	public final int  forwardAxis(AST _t) throws RecognitionException, PermissionDeniedException,EXistException {		int axis;				AST forwardAxis_AST_in = (AST)_t;					axis = -1;						if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case LITERAL_child:		{			AST tmp36_AST_in = (AST)_t;			match(_t,LITERAL_child);			_t = _t.getNextSibling();			axis = Constants.CHILD_AXIS;			break;		}		case LITERAL_attribute:		{			AST tmp37_AST_in = (AST)_t;			match(_t,LITERAL_attribute);			_t = _t.getNextSibling();			axis = Constants.ATTRIBUTE_AXIS;			break;		}		case LITERAL_self:		{			AST tmp38_AST_in = (AST)_t;			match(_t,LITERAL_self);			_t = _t.getNextSibling();			axis = Constants.SELF_AXIS;			break;		}		case LITERAL_parent:		{			AST tmp39_AST_in = (AST)_t;			match(_t,LITERAL_parent);			_t = _t.getNextSibling();			axis = Constants.PARENT_AXIS;			break;		}		case LITERAL_descendant:		{			AST tmp40_AST_in = (AST)_t;			match(_t,LITERAL_descendant);			_t = _t.getNextSibling();			axis = Constants.DESCENDANT_AXIS;			break;		}		case 51:		{			AST tmp41_AST_in = (AST)_t;			match(_t,51);			_t = _t.getNextSibling();			axis = Constants.DESCENDANT_SELF_AXIS;			break;		}		case 52:		{			AST tmp42_AST_in = (AST)_t;			match(_t,52);			_t = _t.getNextSibling();			axis = Constants.FOLLOWING_SIBLING_AXIS;			break;		}		case 56:		{			AST tmp43_AST_in = (AST)_t;			match(_t,56);			_t = _t.getNextSibling();			axis = Constants.PRECEDING_SIBLING_AXIS;			break;		}		case LITERAL_ancestor:		{			AST tmp44_AST_in = (AST)_t;			match(_t,LITERAL_ancestor);			_t = _t.getNextSibling();			axis = Constants.ANCESTOR_AXIS;			break;		}		case 55:		{			AST tmp45_AST_in = (AST)_t;			match(_t,55);			_t = _t.getNextSibling();			axis = Constants.ANCESTOR_SELF_AXIS;			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		_retTree = _t;		return axis;	}