match(_t,77);
match(_t,81);
	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 tmp45_AST_in = (AST)_t;			match(_t,LITERAL_child);			_t = _t.getNextSibling();			axis= Constants.CHILD_AXIS;			break;		}		case LITERAL_attribute:		{			AST tmp46_AST_in = (AST)_t;			match(_t,LITERAL_attribute);			_t = _t.getNextSibling();			axis= Constants.ATTRIBUTE_AXIS;			break;		}		case LITERAL_self:		{			AST tmp47_AST_in = (AST)_t;			match(_t,LITERAL_self);			_t = _t.getNextSibling();			axis= Constants.SELF_AXIS;			break;		}		case LITERAL_parent:		{			AST tmp48_AST_in = (AST)_t;			match(_t,LITERAL_parent);			_t = _t.getNextSibling();			axis= Constants.PARENT_AXIS;			break;		}		case LITERAL_descendant:		{			AST tmp49_AST_in = (AST)_t;			match(_t,LITERAL_descendant);			_t = _t.getNextSibling();			axis= Constants.DESCENDANT_AXIS;			break;		}		case 76:		{			AST tmp50_AST_in = (AST)_t;			match(_t,76);			_t = _t.getNextSibling();			axis= Constants.DESCENDANT_SELF_AXIS;			break;		}		case 77:		{			AST tmp51_AST_in = (AST)_t;			match(_t,77);			_t = _t.getNextSibling();			axis= Constants.FOLLOWING_SIBLING_AXIS;			break;		}		case 81:		{			AST tmp52_AST_in = (AST)_t;			match(_t,81);			_t = _t.getNextSibling();			axis= Constants.PRECEDING_SIBLING_AXIS;			break;		}		case LITERAL_ancestor:		{			AST tmp53_AST_in = (AST)_t;			match(_t,LITERAL_ancestor);			_t = _t.getNextSibling();			axis= Constants.ANCESTOR_AXIS;			break;		}		case 80:		{			AST tmp54_AST_in = (AST)_t;			match(_t,80);			_t = _t.getNextSibling();			axis= Constants.ANCESTOR_SELF_AXIS;			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		_retTree = _t;		return axis;	}