org.exist.xquery.parser.XQueryAST tmp107_AST_in = (org.exist.xquery.parser.XQueryAST)_t;
org.exist.xquery.parser.XQueryAST tmp108_AST_in = (org.exist.xquery.parser.XQueryAST)_t;
	public final int  forwardAxis(AST _t) throws RecognitionException, PermissionDeniedException,EXistException {		int axis;				org.exist.xquery.parser.XQueryAST forwardAxis_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t;		axis= Constants.UNKNOWN_AXIS;				if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case LITERAL_child:		{			org.exist.xquery.parser.XQueryAST tmp107_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_child);			_t = _t.getNextSibling();			axis= Constants.CHILD_AXIS;			break;		}		case LITERAL_attribute:		{			org.exist.xquery.parser.XQueryAST tmp108_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_attribute);			_t = _t.getNextSibling();			axis= Constants.ATTRIBUTE_AXIS;			break;		}		case LITERAL_self:		{			org.exist.xquery.parser.XQueryAST tmp109_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_self);			_t = _t.getNextSibling();			axis= Constants.SELF_AXIS;			break;		}		case LITERAL_parent:		{			org.exist.xquery.parser.XQueryAST tmp110_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_parent);			_t = _t.getNextSibling();			axis= Constants.PARENT_AXIS;			break;		}		case LITERAL_descendant:		{			org.exist.xquery.parser.XQueryAST tmp111_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_descendant);			_t = _t.getNextSibling();			axis= Constants.DESCENDANT_AXIS;			break;		}		case 175:		{			org.exist.xquery.parser.XQueryAST tmp112_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,175);			_t = _t.getNextSibling();			axis= Constants.DESCENDANT_SELF_AXIS;			break;		}		case 176:		{			org.exist.xquery.parser.XQueryAST tmp113_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,176);			_t = _t.getNextSibling();			axis= Constants.FOLLOWING_SIBLING_AXIS;			break;		}		case LITERAL_following:		{			org.exist.xquery.parser.XQueryAST tmp114_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_following);			_t = _t.getNextSibling();			axis= Constants.FOLLOWING_AXIS;			break;		}		case 180:		{			org.exist.xquery.parser.XQueryAST tmp115_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,180);			_t = _t.getNextSibling();			axis= Constants.PRECEDING_SIBLING_AXIS;			break;		}		case LITERAL_preceding:		{			org.exist.xquery.parser.XQueryAST tmp116_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_preceding);			_t = _t.getNextSibling();			axis= Constants.PRECEDING_AXIS;			break;		}		case LITERAL_ancestor:		{			org.exist.xquery.parser.XQueryAST tmp117_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,LITERAL_ancestor);			_t = _t.getNextSibling();			axis= Constants.ANCESTOR_AXIS;			break;		}		case 179:		{			org.exist.xquery.parser.XQueryAST tmp118_AST_in = (org.exist.xquery.parser.XQueryAST)_t;			match(_t,179);			_t = _t.getNextSibling();			axis= Constants.ANCESTOR_SELF_AXIS;			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		_retTree = _t;		return axis;	}