traceIn("typeDeclaration"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST typeDeclaration_AST = null;  org.exist.xquery.parser.XQueryAST tmp150_AST = null; tmp150_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp150_AST); match(LITERAL_as); sequenceType(); astFactory.addASTChild(currentAST, returnAST); typeDeclaration_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = typeDeclaration_AST; } finally { traceOut("typeDeclaration"); }
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST typeDeclaration_AST = null;  org.exist.xquery.parser.XQueryAST tmp150_AST = null; tmp150_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp150_AST); match(LITERAL_as); sequenceType(); astFactory.addASTChild(currentAST, returnAST); typeDeclaration_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = typeDeclaration_AST;
	public final void typeDeclaration() throws RecognitionException, TokenStreamException {				traceIn("typeDeclaration");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST typeDeclaration_AST = null;						org.exist.xquery.parser.XQueryAST tmp150_AST = null;			tmp150_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.makeASTRoot(currentAST, tmp150_AST);			match(LITERAL_as);			sequenceType();			astFactory.addASTChild(currentAST, returnAST);			typeDeclaration_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			returnAST = typeDeclaration_AST;		} finally { // debugging			traceOut("typeDeclaration");		}	}