org.exist.xquery.parser.XQueryAST tmp109_AST = null; tmp109_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp109_AST);
org.exist.xquery.parser.XQueryAST tmp110_AST = null; tmp110_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp110_AST);
	public final void schemaImport() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST schemaImport_AST = null;		Token  i = null;		org.exist.xquery.parser.XQueryAST i_AST = null;		String prefix = null;				i = LT(1);		i_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(i);		match(LITERAL_import);		match(LITERAL_schema);		{		switch ( LA(1)) {		case LITERAL_namespace:		case LITERAL_default:		{			schemaPrefix();			astFactory.addASTChild(currentAST, returnAST);			break;		}		case STRING_LITERAL:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		org.exist.xquery.parser.XQueryAST tmp109_AST = null;		tmp109_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp109_AST);		match(STRING_LITERAL);		{		switch ( LA(1)) {		case LITERAL_at:		{			match(LITERAL_at);			org.exist.xquery.parser.XQueryAST tmp111_AST = null;			tmp111_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp111_AST);			match(STRING_LITERAL);			break;		}		case SEMICOLON:		{			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		}		if ( inputState.guessing==0 ) {			schemaImport_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;								schemaImport_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(SCHEMA_IMPORT,"schema")).add(schemaImport_AST));					schemaImport_AST.copyLexInfo(i_AST);							currentAST.root = schemaImport_AST;			currentAST.child = schemaImport_AST!=null &&schemaImport_AST.getFirstChild()!=null ?				schemaImport_AST.getFirstChild() : schemaImport_AST;			currentAST.advanceChildToEnd();		}		schemaImport_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = schemaImport_AST;	}