/*@bgen(jjtree) Generated By:JJTree: Do not edit this line. xquery-update-src/org/w3c/xqparser\xpath-grammar.jj */ /*@egen*/options { STATIC = false; FORCE_LA_CHECK=false; } PARSER_BEGIN(XPath) package org.w3c.xqparser; import org.w3c.xqparser.Node; import org.w3c.xqparser.SimpleNode; import java.io.*; import java.util.Stack; import java.util.Vector; import org.w3c.dom.Element; import org.w3c.dom.Document; import javax.xml.parsers.*; import org.w3c.dom.traversal.DocumentTraversal; import org.w3c.dom.traversal.NodeFilter; import org.w3c.dom.traversal.NodeIterator; import org.w3c.dom.traversal.TreeWalker; public class XPath/*@bgen(jjtree)*/implements XPathTreeConstants/*@egen*/ {/*@bgen(jjtree)*/ protected JJTXPathState jjtree = new JJTXPathState(); /*@egen*/ boolean m_isMatchPattern = false; boolean isStep = false; Stack _elementStack = new Stack(); Stack binaryTokenStack = new Stack(); public Node createNode(int id) { return null; } void processToken(SimpleNode n, Token t) { if(t.kind == XPathConstants.Slash && n.id != XPathTreeConstants.JJTSLASH) return; if(t.kind == XPathConstants.TagQName && n.id != XPathTreeConstants.JJTTAGQNAME) return; if(t.kind == XPathConstants.S && n.id != XPathTreeConstants.JJTS) return; n.processToken(t); } void checkCharRef(String ref) throws ParseException { ref = ref.substring(2, ref.length() - 1); int val; if (ref.charAt(0) == 'x') { val = Integer.parseInt(ref.substring(1), 16); } else val = Integer.parseInt(ref); boolean isLegal = val == 0x9 || val == 0xA || val == 0xD || (val >= 0x20 && val <= 0xD7FF) || (val >= 0xE000 && val <= 0xFFFD) || (val >= 0x10000 && val <= 0x10FFFF); if (!isLegal) throw new ParseException( "Well-formedness constraint: Legal Character, \n" + "Characters referred to using character references MUST match the production for Char."); } public static void main(String args[]) throws Exception { int numberArgsLeft = args.length; int argsStart = 0; boolean isMatchParser = false; boolean dumpTree = false; while (numberArgsLeft > 0) { try { if (args[argsStart].equals("-dumptree")) { dumpTree = true; argsStart++; numberArgsLeft--; } else if (args[argsStart].equals("-match")) { isMatchParser = true; System.out.println("Match Pattern Parser"); argsStart++; numberArgsLeft--; } else if ("-file".equalsIgnoreCase(args[argsStart])) { argsStart++; numberArgsLeft--; System.out.println("Running test for: " + args[argsStart]); File file = new File(args[argsStart]); argsStart++; numberArgsLeft--; Reader fis = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); XPath parser = new XPath(fis); SimpleNode tree = parser.XPath2(); if (dumpTree) tree.dump("|"); } else if (args[argsStart].endsWith(".xquery")) { System.out.println("Running test for: " + args[argsStart]); File file = new File(args[argsStart]); argsStart++; numberArgsLeft--; Reader fis = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); XPath parser = new XPath(fis); SimpleNode tree = parser.XPath2(); if (dumpTree) tree.dump("|"); } else if ("-catalog".equalsIgnoreCase(args[argsStart])) { argsStart++; numberArgsLeft--; String catalogFileName = args[argsStart]; argsStart++; numberArgsLeft--; System.out.println("Running catalog for: " + catalogFileName); DocumentBuilderFactory dbf = DocumentBuilderFactory .newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(catalogFileName); NodeIterator testCases = ((DocumentTraversal) doc) .createNodeIterator(doc, NodeFilter.SHOW_ELEMENT, new NodeFilter() { public short acceptNode( org.w3c.dom.Node node) { String nm = node.getNodeName(); return (nm.equals("test-case")) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; } }, true); org.w3c.dom.Element testCase; int totalCount = 0; Vector failedList = new Vector(); while ((testCase = (org.w3c.dom.Element) testCases .nextNode()) != null) { NodeIterator queryies = ((DocumentTraversal) doc) .createNodeIterator(testCase, NodeFilter.SHOW_ELEMENT, new NodeFilter() { public short acceptNode( org.w3c.dom.Node node) { String nm = node.getNodeName(); return (nm.equals("query")) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; } }, true); org.w3c.dom.Element query; while ((query = (org.w3c.dom.Element) queryies .nextNode()) != null) { String fileString = query.getAttribute("name"); String locString = testCase .getAttribute("FilePath").replace('/', File.separatorChar); File catFile = new File(catalogFileName); String locCatFile = catFile.getParent(); String absFileName = locCatFile + File.separator + "Queries" + File.separator + "XQuery" + File.separator + locString + fileString; if (dumpTree) { System.out.print("== "); System.out.print(absFileName); System.out.println(" =="); } else System.out.print("."); boolean isParseError = false; String scenario = testCase.getAttribute("scenario"); if (scenario.equals("parse-error")) isParseError = true; totalCount++; try { File file = new File(absFileName); Reader fis = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); XPath parser = new XPath(fis); SimpleNode tree = parser.XPath2(); if(isParseError) failedList.addElement(fileString); if (dumpTree) tree.dump("|"); } catch (Exception e) { if(!isParseError) failedList.addElement(fileString); } catch (Error e2) { if(!isParseError) failedList.addElement(fileString); } } } System.out.println(); if(failedList.size() > 0) { System.out.print("FAILED: "); for(int i = 0; i < failedList.size(); i++) { String fname = (String)failedList.elementAt(i); System.out.print(fname); if((i+1) != failedList.size()) System.out.print(", "); } System.out.println(); System.out.print("Failed "+failedList.size()+" out of "); } else { System.out.print("Total Success!! "); } System.out.println(totalCount+" cases"); } else { for(int i = argsStart; i < args.length; i++) { System.out.println(); System.out.println("Test["+i+"]: "+args[i]); Reader fis = new BufferedReader(new InputStreamReader(new java.io.StringBufferInputStream(args[i]), "UTF-8")); XPath parser = new XPath(fis); SimpleNode tree; if(isMatchParser) { tree = parser.XPath2(); } else { tree = parser.XPath2(); } ((SimpleNode)tree.jjtGetChild(0)).dump("|") ; break; } System.out.println("Success!!!!"); } } catch(ParseException pe) { System.err.println(pe.getMessage()); } catch(Error e) { String msg = e.getMessage(); if(msg == null || msg.equals("")) msg = "Unknown Error: "+e.getClass().getName(); System.err.println(msg); } return; } java.io.DataInputStream dinput = new java.io.DataInputStream(System.in); while(true) { try { System.err.println("Type Expression: "); String input = dinput.readLine(); if(null == input || input.trim().length() == 0) break; XPath parser = new XPath(new BufferedReader(new InputStreamReader(new java.io.StringBufferInputStream(input), "UTF-8"))); SimpleNode tree; if(isMatchParser) { tree = parser.XPath2(); } else { tree = parser.XPath2(); } ((SimpleNode)tree.jjtGetChild(0)).dump("|") ; } catch(ParseException pe) { System.err.println(pe.getMessage()); } catch(Exception e) { System.err.println(e.getMessage()); } catch(Error e) { String msg = e.getMessage(); if(msg == null || msg.equals("")) msg = "Unknown Error: "+e.getClass().getName(); System.err.println(msg); } } } } PARSER_END(XPath) TOKEN_MGR_DECLS : { public Stack stateStack = new Stack(); // private Vector persistentLexStates = new Vector(); static final int PARENMARKER = 2000; public int offset = 0; void CommonTokenAction(Token t) {} /** * Push the current state onto the state stack. */ private void pushState() { stateStack.addElement(new Integer(curLexState)); } /** * Push the given state onto the state stack. * @param state Must be a valid state. */ private void pushState(int state) { stateStack.push(new Integer(state)); } /** * Pop the state on the state stack, and switch to that state. */ private void popState() { if (stateStack.size() == 0) { printLinePos(); } int nextState = ((Integer) stateStack.pop()).intValue(); if(nextState == PARENMARKER) printLinePos(); SwitchTo(nextState); } /** * Push the given state onto the state stack. * @param state Must be a valid state. */ private boolean isState(int state) { for (int i = 0; i < stateStack.size(); i++) { if(((Integer) stateStack.elementAt(i)).intValue() == state) { return true; } } return false; } /** * Push a parenthesis state. This pushes, in addition to the * lexical state value, a special marker that lets * resetParenStateOrSwitch(int state) * know if it should pop and switch. Used for the comma operator. */ private void pushParenState(int commaState, int rparState) { stateStack.push(new Integer(rparState)); stateStack.push(new Integer(commaState)); stateStack.push(new Integer(PARENMARKER)); SwitchTo(commaState); } /** * Print the current line position. */ public void printLinePos() { System.err.println("Line: " + input_stream.getEndLine()); } } SimpleNode XPath2() : {/*@bgen(jjtree) XPath2 */ SimpleNode jjtn000 = new SimpleNode(this, JJTXPATH2); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) XPath2 */ try { /*@egen*/ QueryList()/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/ { if(this.token_source.curLexState == XPathConstants.EXPR_COMMENT) throw new ParseException("Unterminated comment."); return jjtn000 ; }/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void QueryList() : {/*@bgen(jjtree) QueryList */ SimpleNode jjtn000 = new SimpleNode(this, JJTQUERYLIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) QueryList */ try { /*@egen*/ Module() ("%%%" [Module()])*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Module() : {/*@bgen(jjtree) Module */ SimpleNode jjtn000 = new SimpleNode(this, JJTMODULE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Module */ try { /*@egen*/ [LOOKAHEAD(2) VersionDecl()] (LOOKAHEAD(2) LibraryModule() | MainModule())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void VersionDecl() : {/*@bgen(jjtree) VersionDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTVERSIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) VersionDecl */ try { /*@egen*/ "xquery" "version" /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ ["encoding" /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/] Separator()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void MainModule() : {/*@bgen(jjtree) MainModule */ SimpleNode jjtn000 = new SimpleNode(this, JJTMAINMODULE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) MainModule */ try { /*@egen*/ Prolog() QueryBody()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void LibraryModule() : {/*@bgen(jjtree) LibraryModule */ SimpleNode jjtn000 = new SimpleNode(this, JJTLIBRARYMODULE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) LibraryModule */ try { /*@egen*/ ModuleDecl() Prolog()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ModuleDecl() : {/*@bgen(jjtree) ModuleDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTMODULEDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ModuleDecl */ try { /*@egen*/ "module" "namespace" NCName() "=" URILiteral() Separator()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Prolog() : {/*@bgen(jjtree) Prolog */ SimpleNode jjtn000 = new SimpleNode(this, JJTPROLOG); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Prolog */ try { /*@egen*/ (LOOKAHEAD(2) (LOOKAHEAD(3) DefaultNamespaceDecl() | LOOKAHEAD(3) Setter() | LOOKAHEAD(2) NamespaceDecl() | Import()) Separator())* (LOOKAHEAD(2) (LOOKAHEAD(2) VarDecl() | LOOKAHEAD(2) FunctionDecl() | LOOKAHEAD(2) OptionDecl()) Separator())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Setter() : {/*@bgen(jjtree) Setter */ SimpleNode jjtn000 = new SimpleNode(this, JJTSETTER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Setter */ try { /*@egen*/ (LOOKAHEAD(2) BoundarySpaceDecl() | LOOKAHEAD(3) DefaultCollationDecl() | LOOKAHEAD(2) BaseURIDecl() | LOOKAHEAD(2) ConstructionDecl() | LOOKAHEAD(2) OrderingModeDecl() | LOOKAHEAD(3) EmptyOrderDecl() | LOOKAHEAD(2) RevalidationDecl() | CopyNamespacesDecl())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Import() : {/*@bgen(jjtree) Import */ SimpleNode jjtn000 = new SimpleNode(this, JJTIMPORT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Import */ try { /*@egen*/ (LOOKAHEAD(2) SchemaImport() | ModuleImport())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Separator() : {/*@bgen(jjtree) Separator */ SimpleNode jjtn000 = new SimpleNode(this, JJTSEPARATOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Separator */ try { /*@egen*/ ";"/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void NamespaceDecl() : {/*@bgen(jjtree) NamespaceDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTNAMESPACEDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) NamespaceDecl */ try { /*@egen*/ "declare" "namespace" NCName() "=" URILiteral()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void BoundarySpaceDecl() : {/*@bgen(jjtree) BoundarySpaceDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTBOUNDARYSPACEDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) BoundarySpaceDecl */ try { /*@egen*/ "declare" "boundary-space" ("preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("preserve");} | "strip"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strip");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DefaultNamespaceDecl() : {/*@bgen(jjtree) DefaultNamespaceDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTDEFAULTNAMESPACEDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DefaultNamespaceDecl */ try { /*@egen*/ "declare" "default" ("element"{jjtn000.processValue("element");} | "function"{jjtn000.processValue("function");}) "namespace" URILiteral()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OptionDecl() : {/*@bgen(jjtree) OptionDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTOPTIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OptionDecl */ try { /*@egen*/ "declare" "option" QName() /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderingModeDecl() : {/*@bgen(jjtree) OrderingModeDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDERINGMODEDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderingModeDecl */ try { /*@egen*/ "declare" "ordering" ("ordered"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("ordered");} | "unordered"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("unordered");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void EmptyOrderDecl() : {/*@bgen(jjtree) EmptyOrderDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTEMPTYORDERDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) EmptyOrderDecl */ try { /*@egen*/ "declare" "default" "order" "empty" (/*@bgen(jjtree) #Greatest( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTGREATEST); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #Least( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTLEAST); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CopyNamespacesDecl() : {/*@bgen(jjtree) CopyNamespacesDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOPYNAMESPACESDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CopyNamespacesDecl */ try { /*@egen*/ "declare" "copy-namespaces" PreserveMode() "," InheritMode()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void PreserveMode() : {/*@bgen(jjtree) PreserveMode */ SimpleNode jjtn000 = new SimpleNode(this, JJTPRESERVEMODE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) PreserveMode */ try { /*@egen*/ ("preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("preserve");} | "no-preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("no-preserve");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void InheritMode() : {/*@bgen(jjtree) InheritMode */ SimpleNode jjtn000 = new SimpleNode(this, JJTINHERITMODE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) InheritMode */ try { /*@egen*/ ("inherit"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("inherit");} | "no-inherit"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("no-inherit");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DefaultCollationDecl() : {/*@bgen(jjtree) DefaultCollationDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTDEFAULTCOLLATIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DefaultCollationDecl */ try { /*@egen*/ "declare" "default" "collation" URILiteral()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void BaseURIDecl() : {/*@bgen(jjtree) BaseURIDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTBASEURIDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) BaseURIDecl */ try { /*@egen*/ "declare" "base-uri" URILiteral()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SchemaImport() : {/*@bgen(jjtree) SchemaImport */ SimpleNode jjtn000 = new SimpleNode(this, JJTSCHEMAIMPORT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SchemaImport */ try { /*@egen*/ "import" "schema" [SchemaPrefix()] URILiteral() ["at" URILiteral() ("," URILiteral())*]/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SchemaPrefix() : {/*@bgen(jjtree) SchemaPrefix */ SimpleNode jjtn000 = new SimpleNode(this, JJTSCHEMAPREFIX); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SchemaPrefix */ try { /*@egen*/ ( ( "namespace" NCName() "=") | ( "default" "element" "namespace"))/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ModuleImport() : {/*@bgen(jjtree) ModuleImport */ SimpleNode jjtn000 = new SimpleNode(this, JJTMODULEIMPORT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ModuleImport */ try { /*@egen*/ "import" "module" ["namespace" NCName() "="] URILiteral() ["at" URILiteral() ("," URILiteral())*]/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void VarDecl() : {/*@bgen(jjtree) VarDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTVARDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) VarDecl */ try { /*@egen*/ "declare" "variable" "$" QName() [TypeDeclaration()] ( ( ":=" ExprSingle()) | /*@bgen(jjtree) #External( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTEXTERNAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ConstructionDecl() : {/*@bgen(jjtree) ConstructionDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTCONSTRUCTIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ConstructionDecl */ try { /*@egen*/ "declare" "construction" ("strip"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strip");} | "preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("preserve");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void FunctionDecl() : {/*@bgen(jjtree) FunctionDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTFUNCTIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) FunctionDecl */ try { /*@egen*/ "declare" ["updating"] "function" QName() "(" [ParamList()] ")" ["as" SequenceType()] (EnclosedExpr() | /*@bgen(jjtree) #External( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTEXTERNAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ParamList() : {/*@bgen(jjtree) ParamList */ SimpleNode jjtn000 = new SimpleNode(this, JJTPARAMLIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ParamList */ try { /*@egen*/ Param() ("," Param())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Param() : {/*@bgen(jjtree) Param */ SimpleNode jjtn000 = new SimpleNode(this, JJTPARAM); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Param */ try { /*@egen*/ "$" QName() [TypeDeclaration()]/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void EnclosedExpr() : {/*@bgen(jjtree) EnclosedExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTENCLOSEDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) EnclosedExpr */ try { /*@egen*/ (/*@bgen(jjtree) #Lbrace( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/) Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTRBRACE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void QueryBody() : {/*@bgen(jjtree) QueryBody */ SimpleNode jjtn000 = new SimpleNode(this, JJTQUERYBODY); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) QueryBody */ try { /*@egen*/ Expr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Expr() : {/*@bgen(jjtree) Expr */ SimpleNode jjtn000 = new SimpleNode(this, JJTEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Expr */ try { /*@egen*/ ExprSingle() ("," ExprSingle())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ExprSingle() : {} { (LOOKAHEAD(2) FLWORExpr() | LOOKAHEAD(2) QuantifiedExpr() | LOOKAHEAD(2) TypeswitchExpr() | LOOKAHEAD(2) IfExpr() | LOOKAHEAD(2) InsertExpr() | LOOKAHEAD(2) DeleteExpr() | LOOKAHEAD(2) RenameExpr() | LOOKAHEAD(2) ReplaceExpr() | LOOKAHEAD(2) TransformExpr() | OrExpr()) } void FLWORExpr() : {/*@bgen(jjtree) FLWORExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTFLWOREXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) FLWORExpr */ try { /*@egen*/ ((ForClause() | LetClause()))+ [WhereClause()] [OrderByClause()] "return" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ForClause() : {/*@bgen(jjtree) ForClause */ SimpleNode jjtn000 = new SimpleNode(this, JJTFORCLAUSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ForClause */ try { /*@egen*/ "for" "$" VarName() [TypeDeclaration()] [PositionalVar()] "in" ExprSingle() ("," "$" VarName() [TypeDeclaration()] [PositionalVar()] "in" ExprSingle())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void PositionalVar() : {/*@bgen(jjtree) PositionalVar */ SimpleNode jjtn000 = new SimpleNode(this, JJTPOSITIONALVAR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) PositionalVar */ try { /*@egen*/ "at" "$" VarName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void LetClause() : {/*@bgen(jjtree) LetClause */ SimpleNode jjtn000 = new SimpleNode(this, JJTLETCLAUSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) LetClause */ try { /*@egen*/ ( "let" "$" VarName() [TypeDeclaration()]) ":=" ExprSingle() ("," ( "$" VarName() [TypeDeclaration()]) ":=" ExprSingle())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void WhereClause() : {/*@bgen(jjtree) WhereClause */ SimpleNode jjtn000 = new SimpleNode(this, JJTWHERECLAUSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) WhereClause */ try { /*@egen*/ "where" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderByClause() : {/*@bgen(jjtree) OrderByClause */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDERBYCLAUSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderByClause */ try { /*@egen*/ ( ( "order" "by") | ( "stable"{jjtn000.processValue("stable");} "order" "by")) OrderSpecList()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderSpecList() : {/*@bgen(jjtree) OrderSpecList */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDERSPECLIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderSpecList */ try { /*@egen*/ OrderSpec() ("," OrderSpec())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderSpec() : {/*@bgen(jjtree) OrderSpec */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDERSPEC); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderSpec */ try { /*@egen*/ ExprSingle() OrderModifier()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderModifier() : {/*@bgen(jjtree) OrderModifier */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDERMODIFIER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderModifier */ try { /*@egen*/ [(/*@bgen(jjtree) #Ascending( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTASCENDING); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #Descending( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTDESCENDING); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)] ["empty" (/*@bgen(jjtree) #Greatest( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTGREATEST); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ | /*@bgen(jjtree) #Least( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTLEAST); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/)] ["collation" URILiteral()]/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void QuantifiedExpr() : {/*@bgen(jjtree) QuantifiedExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTQUANTIFIEDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) QuantifiedExpr */ try { /*@egen*/ ("some"{jjtn000.processValue("some");} | "every"{jjtn000.processValue("every");}) "$" VarName() [TypeDeclaration()] "in" ExprSingle() ("," "$" VarName() [TypeDeclaration()] "in" ExprSingle())* "satisfies" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TypeswitchExpr() : {/*@bgen(jjtree) TypeswitchExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTTYPESWITCHEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TypeswitchExpr */ try { /*@egen*/ "typeswitch" "(" Expr() ")" (CaseClause())+ "default" ["$" VarName()] "return" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CaseClause() : {/*@bgen(jjtree) CaseClause */ SimpleNode jjtn000 = new SimpleNode(this, JJTCASECLAUSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CaseClause */ try { /*@egen*/ "case" ["$" VarName() "as"] SequenceType() "return" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void IfExpr() : {/*@bgen(jjtree) IfExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTIFEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) IfExpr */ try { /*@egen*/ "if" "(" Expr() ")" "then" ExprSingle() "else" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OperatorExpr() : {} { OrExpr() } void OrExpr() : {/*@bgen(jjtree) #OrExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTOREXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #OrExpr(> 1) */ try { /*@egen*/ AndExpr() ("or"{ binaryTokenStack.push(token); } AndExpr()/*@bgen(jjtree) #OrExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTOREXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void AndExpr() : {/*@bgen(jjtree) #AndExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTANDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #AndExpr(> 1) */ try { /*@egen*/ ComparisonExpr() ("and"{ binaryTokenStack.push(token); } ComparisonExpr()/*@bgen(jjtree) #AndExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTANDEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void ComparisonExpr() : {/*@bgen(jjtree) #ComparisonExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPARISONEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #ComparisonExpr(> 1) */ try { /*@egen*/ RangeExpr() ((ValueComp() | GeneralComp() | NodeComp()) RangeExpr()/*@bgen(jjtree) #ComparisonExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTCOMPARISONEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void RangeExpr() : {/*@bgen(jjtree) #RangeExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTRANGEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #RangeExpr(> 1) */ try { /*@egen*/ AdditiveExpr() ("to"{ binaryTokenStack.push(token); } AdditiveExpr()/*@bgen(jjtree) #RangeExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTRANGEEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void AdditiveExpr() : {/*@bgen(jjtree) #AdditiveExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTADDITIVEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #AdditiveExpr(> 1) */ try { /*@egen*/ MultiplicativeExpr() (( {binaryTokenStack.push(token);} | {binaryTokenStack.push(token);} ) MultiplicativeExpr()/*@bgen(jjtree) #AdditiveExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTADDITIVEEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void MultiplicativeExpr() : {/*@bgen(jjtree) #MultiplicativeExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTMULTIPLICATIVEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #MultiplicativeExpr(> 1) */ try { /*@egen*/ UnionExpr() (("*"{ binaryTokenStack.push(token); } | "div"{ binaryTokenStack.push(token); } | "idiv"{ binaryTokenStack.push(token); } | "mod"{ binaryTokenStack.push(token); }) UnionExpr()/*@bgen(jjtree) #MultiplicativeExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTMULTIPLICATIVEEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void UnionExpr() : {/*@bgen(jjtree) #UnionExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTUNIONEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #UnionExpr(> 1) */ try { /*@egen*/ IntersectExceptExpr() (("union"{ binaryTokenStack.push(token); } | "|"{ binaryTokenStack.push(token); }) IntersectExceptExpr()/*@bgen(jjtree) #UnionExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTUNIONEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void IntersectExceptExpr() : {/*@bgen(jjtree) #IntersectExceptExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTINTERSECTEXCEPTEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #IntersectExceptExpr(> 1) */ try { /*@egen*/ InstanceofExpr() (("intersect"{ binaryTokenStack.push(token); } | "except"{ binaryTokenStack.push(token); }) InstanceofExpr()/*@bgen(jjtree) #IntersectExceptExpr( 2) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTINTERSECTEXCEPTEXPR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, 2); jjtc001 = false; } /*@egen*/ { try { processToken(jjtn001, (Token)binaryTokenStack.pop()); } catch(java.util.EmptyStackException e) { token_source.printLinePos(); e.printStackTrace(); throw e; } }/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } /*@egen*/)*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void InstanceofExpr() : {/*@bgen(jjtree) #InstanceofExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTINSTANCEOFEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #InstanceofExpr(> 1) */ try { /*@egen*/ TreatExpr() ( "instance" "of" SequenceType())?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void TreatExpr() : {/*@bgen(jjtree) #TreatExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTTREATEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #TreatExpr(> 1) */ try { /*@egen*/ CastableExpr() ( "treat" "as" SequenceType())?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void CastableExpr() : {/*@bgen(jjtree) #CastableExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTCASTABLEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #CastableExpr(> 1) */ try { /*@egen*/ CastExpr() ( "castable" "as" SingleType())?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void CastExpr() : {/*@bgen(jjtree) #CastExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTCASTEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #CastExpr(> 1) */ try { /*@egen*/ UnaryExpr() ( "cast" "as" SingleType())?/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void UnaryExpr() : {/*@bgen(jjtree) #UnaryExpr( keepUnary) */ SimpleNode jjtn000 = new SimpleNode(this, JJTUNARYEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/boolean keepUnary=false;} {/*@bgen(jjtree) #UnaryExpr( keepUnary) */ try { /*@egen*/ (/*@bgen(jjtree) #Minus( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTMINUS); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{keepUnary=true;processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #Plus( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTPLUS); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{keepUnary=true;processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)* ValueExpr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, keepUnary); } } /*@egen*/ } void ValueExpr() : {} { (LOOKAHEAD(2) ValidateExpr() | PathExpr() | ExtensionExpr()) } void GeneralComp() : {} { ("="{ binaryTokenStack.push(token); } | "!="{ binaryTokenStack.push(token); } | {/* Careful! */ token_source.SwitchTo(DEFAULT); token_source.stateStack.pop(); } {binaryTokenStack.push(token);} | "<="{ binaryTokenStack.push(token); } | ">"{ binaryTokenStack.push(token); } | ">="{ binaryTokenStack.push(token); }) } void ValueComp() : {} { ("eq"{ binaryTokenStack.push(token); } | "ne"{ binaryTokenStack.push(token); } | "lt"{ binaryTokenStack.push(token); } | "le"{ binaryTokenStack.push(token); } | "gt"{ binaryTokenStack.push(token); } | "ge"{ binaryTokenStack.push(token); }) } void NodeComp() : {} { ("is"{ binaryTokenStack.push(token); } | "<<"{ binaryTokenStack.push(token); } | ">>"{ binaryTokenStack.push(token); }) } void ValidateExpr() : {/*@bgen(jjtree) ValidateExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTVALIDATEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ValidateExpr */ try { /*@egen*/ "validate" [ValidationMode()] /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ValidationMode() : {/*@bgen(jjtree) ValidationMode */ SimpleNode jjtn000 = new SimpleNode(this, JJTVALIDATIONMODE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ValidationMode */ try { /*@egen*/ ("lax"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("lax");} | "strict"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strict");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ExtensionExpr() : {/*@bgen(jjtree) ExtensionExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTEXTENSIONEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ExtensionExpr */ try { /*@egen*/ (Pragma())+ /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ [Expr()] /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Pragma() : {/*@bgen(jjtree) Pragma */ SimpleNode jjtn000 = new SimpleNode(this, JJTPRAGMA); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Pragma */ try { /*@egen*/ /*@bgen(jjtree) #PragmaOpen( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTPRAGMAOPEN); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ [/*@bgen(jjtree) #S( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTS); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/] /*@bgen(jjtree) #QNameForPragma( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTQNAMEFORPRAGMA); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ [/*@bgen(jjtree) #SForPragma( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTSFORPRAGMA); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ PragmaContents()] /*@bgen(jjtree) #PragmaClose( true) */ { SimpleNode jjtn005 = new SimpleNode(this, JJTPRAGMACLOSE); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn005, true); jjtc005 = false; } /*@egen*/{processToken(jjtn005, token);}/*@bgen(jjtree)*/ } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void PragmaContents() : {/*@bgen(jjtree) PragmaContents */ SimpleNode jjtn000 = new SimpleNode(this, JJTPRAGMACONTENTS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) PragmaContents */ try { /*@egen*/ (/*@bgen(jjtree) #ExtensionContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTEXTENSIONCONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)*/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void PathExpr() : {/*@bgen(jjtree) #PathExpr(> 1) */ SimpleNode jjtn000 = new SimpleNode(this, JJTPATHEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #PathExpr(> 1) */ try { /*@egen*/ ( ( /*@bgen(jjtree) #Slash( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSLASH); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ [LOOKAHEAD(1) RelativePathExpr()]) | ( /*@bgen(jjtree) #SlashSlash( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTSLASHSLASH); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/ RelativePathExpr()) | RelativePathExpr())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1); } } /*@egen*/ } void RelativePathExpr() : {} { StepExpr() (({processToken(((SimpleNode)jjtree.peekNode()), token);} | /*@bgen(jjtree) #SlashSlash( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSLASHSLASH); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/) StepExpr())* } void StepExpr() : {/*@bgen(jjtree) #StepExpr(> 1 || isStep) */ SimpleNode jjtn000 = new SimpleNode(this, JJTSTEPEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/boolean savedIsStep = isStep; isStep=false;} {/*@bgen(jjtree) #StepExpr(> 1 || isStep) */ try { /*@egen*/ (LOOKAHEAD(3) FilterExpr()/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1 || isStep); jjtc000 = false; } /*@egen*/{isStep = savedIsStep;} | {isStep=true;}AxisStep()/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1 || isStep); jjtc000 = false; } /*@egen*/{isStep = savedIsStep;})/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1 || isStep); } } /*@egen*/ } void AxisStep() : {} { (LOOKAHEAD(2) ReverseStep() | ForwardStep()) PredicateList() } void ForwardStep() : {} { (LOOKAHEAD(2) ( ForwardAxis() NodeTest()) | AbbrevForwardStep()) } void ForwardAxis() : {/*@bgen(jjtree) ForwardAxis */ SimpleNode jjtn000 = new SimpleNode(this, JJTFORWARDAXIS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ForwardAxis */ try { /*@egen*/ ( ( "child"{jjtn000.processValue("child");} "::") | ( "descendant"{jjtn000.processValue("descendant");} "::") | ( "attribute"{jjtn000.processValue("attribute");} "::") | ( "self"{jjtn000.processValue("self");} "::") | ( "descendant-or-self"{jjtn000.processValue("descendant-or-self");} "::") | ( "following-sibling"{jjtn000.processValue("following-sibling");} "::") | ( "following"{jjtn000.processValue("following");} "::"))/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AbbrevForwardStep() : {/*@bgen(jjtree) AbbrevForwardStep */ SimpleNode jjtn000 = new SimpleNode(this, JJTABBREVFORWARDSTEP); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AbbrevForwardStep */ try { /*@egen*/ ["@"{jjtn000.processValue("@");}] NodeTest()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ReverseStep() : {} { ( ( ReverseAxis() NodeTest()) | AbbrevReverseStep()) } void ReverseAxis() : {/*@bgen(jjtree) ReverseAxis */ SimpleNode jjtn000 = new SimpleNode(this, JJTREVERSEAXIS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ReverseAxis */ try { /*@egen*/ ( ( "parent"{jjtn000.processValue("parent");} "::") | ( "ancestor"{jjtn000.processValue("ancestor");} "::") | ( "preceding-sibling"{jjtn000.processValue("preceding-sibling");} "::") | ( "preceding"{jjtn000.processValue("preceding");} "::") | ( "ancestor-or-self"{jjtn000.processValue("ancestor-or-self");} "::"))/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AbbrevReverseStep() : {/*@bgen(jjtree) AbbrevReverseStep */ SimpleNode jjtn000 = new SimpleNode(this, JJTABBREVREVERSESTEP); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AbbrevReverseStep */ try { /*@egen*/ ".."/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void NodeTest() : {/*@bgen(jjtree) NodeTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTNODETEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) NodeTest */ try { /*@egen*/ (LOOKAHEAD(2) KindTest() | NameTest())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void NameTest() : {/*@bgen(jjtree) NameTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTNAMETEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) NameTest */ try { /*@egen*/ (QName() | Wildcard())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Wildcard() : {/*@bgen(jjtree) Wildcard */ SimpleNode jjtn000 = new SimpleNode(this, JJTWILDCARD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Wildcard */ try { /*@egen*/ ("*"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("*");} | /*@bgen(jjtree) #NCNameColonStar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTNCNAMECOLONSTAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #StarColonNCName( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTSTARCOLONNCNAME); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void FilterExpr() : {} { PrimaryExpr() PredicateList() } void PredicateList() : {/*@bgen(jjtree) #PredicateList(> 0) */ SimpleNode jjtn000 = new SimpleNode(this, JJTPREDICATELIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #PredicateList(> 0) */ try { /*@egen*/ (Predicate())*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 0); } } /*@egen*/ } void Predicate() : {/*@bgen(jjtree) #Predicate(> 0) */ SimpleNode jjtn000 = new SimpleNode(this, JJTPREDICATE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) #Predicate(> 0) */ try { /*@egen*/ "[" Expr() "]"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 0); } } /*@egen*/ } void PrimaryExpr() : {} { (Literal() | VarRef() | ParenthesizedExpr() | {isStep=true;}ContextItemExpr() | LOOKAHEAD(2) FunctionCall() | LOOKAHEAD(2) OrderedExpr() | LOOKAHEAD(2) UnorderedExpr() | Constructor()) } void Literal() : {} { (NumericLiteral() | /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/) } void NumericLiteral() : {} { (/*@bgen(jjtree) #IntegerLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTINTEGERLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #DecimalLiteral( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTDECIMALLITERAL); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/ | /*@bgen(jjtree) #DoubleLiteral( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTDOUBLELITERAL); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/) } void VarRef() : {} { "$" VarName() } void VarName() : {/*@bgen(jjtree) VarName */ SimpleNode jjtn000 = new SimpleNode(this, JJTVARNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) VarName */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ParenthesizedExpr() : {/*@bgen(jjtree) ParenthesizedExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTPARENTHESIZEDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ParenthesizedExpr */ try { /*@egen*/ "(" [Expr()] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ContextItemExpr() : {/*@bgen(jjtree) ContextItemExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTCONTEXTITEMEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ContextItemExpr */ try { /*@egen*/ "."/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue(".");}/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OrderedExpr() : {/*@bgen(jjtree) OrderedExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTORDEREDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OrderedExpr */ try { /*@egen*/ "ordered" /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void UnorderedExpr() : {/*@bgen(jjtree) UnorderedExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTUNORDEREDEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) UnorderedExpr */ try { /*@egen*/ "unordered" /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void FunctionCall() : {/*@bgen(jjtree) FunctionCall */ SimpleNode jjtn000 = new SimpleNode(this, JJTFUNCTIONCALL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) FunctionCall */ try { /*@egen*/ FunctionQName() "(" [ExprSingle() ("," ExprSingle())*] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void Constructor() : {/*@bgen(jjtree) Constructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) Constructor */ try { /*@egen*/ (DirectConstructor() | ComputedConstructor())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirectConstructor() : {/*@bgen(jjtree) DirectConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRECTCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirectConstructor */ try { /*@egen*/ (DirElemConstructor() | DirCommentConstructor() | DirPIConstructor())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirElemConstructor() : {/*@bgen(jjtree) DirElemConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRELEMCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirElemConstructor */ try { /*@egen*/ (/*@bgen(jjtree) #LessThanOpOrTagO( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLESSTHANOPORTAGO); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #StartTagOpen( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTSTARTTAGOPEN); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/) /*@bgen(jjtree) #TagQName( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTTAGQNAME); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{_elementStack.push(token.image); processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ DirAttributeList() (/*@bgen(jjtree) #EmptyTagClose( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTEMPTYTAGCLOSE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{_elementStack.pop(); processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ | ( /*@bgen(jjtree) #StartTagClose( true) */ { SimpleNode jjtn005 = new SimpleNode(this, JJTSTARTTAGCLOSE); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn005, true); jjtc005 = false; } /*@egen*/{processToken(jjtn005, token);}/*@bgen(jjtree)*/ } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, true); } } /*@egen*/ (DirElemContent())* {processToken(((SimpleNode)jjtree.peekNode()), token);} /*@bgen(jjtree) #EndTagQName( true) */ { SimpleNode jjtn006 = new SimpleNode(this, JJTENDTAGQNAME); boolean jjtc006 = true; jjtree.openNodeScope(jjtn006); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn006, true); jjtc006 = false; } /*@egen*/{if(!token.image.equals(_elementStack.pop())) throw new ParseException("Error: In a direct element constructor, the name used in the end tag must exactly match the name used in the corresponding start tag, including its prefix or absence of a prefix. Line: " + token.beginLine); processToken(jjtn006, token);}/*@bgen(jjtree)*/ } finally { if (jjtc006) { jjtree.closeNodeScope(jjtn006, true); } } /*@egen*/ [{processToken(((SimpleNode)jjtree.peekNode()), token);}] /*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);}))/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirAttributeList() : {/*@bgen(jjtree) DirAttributeList */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRATTRIBUTELIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirAttributeList */ try { /*@egen*/ (/*@bgen(jjtree) #S( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTS); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ [/*@bgen(jjtree) #TagQName( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTTAGQNAME); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/ [/*@bgen(jjtree) #S( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTS); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/] /*@bgen(jjtree) #ValueIndicator( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTVALUEINDICATOR); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ [/*@bgen(jjtree) #S( true) */ { SimpleNode jjtn005 = new SimpleNode(this, JJTS); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn005, true); jjtc005 = false; } /*@egen*/{processToken(jjtn005, token);}/*@bgen(jjtree)*/ } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, true); } } /*@egen*/] DirAttributeValue()])*/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirAttributeValue() : {/*@bgen(jjtree) DirAttributeValue */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRATTRIBUTEVALUE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirAttributeValue */ try { /*@egen*/ ( ( /*@bgen(jjtree) #OpenQuot( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTOPENQUOT); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ ((/*@bgen(jjtree) #EscapeQuot( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTESCAPEQUOT); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/ | QuotAttrValueContent()))* /*@bgen(jjtree) #CloseQuot( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTCLOSEQUOT); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/) | ( /*@bgen(jjtree) #OpenApos( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTOPENAPOS); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ ((/*@bgen(jjtree) #EscapeApos( true) */ { SimpleNode jjtn005 = new SimpleNode(this, JJTESCAPEAPOS); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn005, true); jjtc005 = false; } /*@egen*/{processToken(jjtn005, token);}/*@bgen(jjtree)*/ } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, true); } } /*@egen*/ | AposAttrValueContent()))* /*@bgen(jjtree) #CloseApos( true) */ { SimpleNode jjtn006 = new SimpleNode(this, JJTCLOSEAPOS); boolean jjtc006 = true; jjtree.openNodeScope(jjtn006); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn006, true); jjtc006 = false; } /*@egen*/{processToken(jjtn006, token);}/*@bgen(jjtree)*/ } finally { if (jjtc006) { jjtree.closeNodeScope(jjtn006, true); } } /*@egen*/))/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void QuotAttrValueContent() : {/*@bgen(jjtree) QuotAttrValueContent */ SimpleNode jjtn000 = new SimpleNode(this, JJTQUOTATTRVALUECONTENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) QuotAttrValueContent */ try { /*@egen*/ (/*@bgen(jjtree) #QuotAttrContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTQUOTATTRCONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | CommonContent())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AposAttrValueContent() : {/*@bgen(jjtree) AposAttrValueContent */ SimpleNode jjtn000 = new SimpleNode(this, JJTAPOSATTRVALUECONTENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AposAttrValueContent */ try { /*@egen*/ (/*@bgen(jjtree) #AposAttrContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTAPOSATTRCONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | CommonContent())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirElemContent() : {/*@bgen(jjtree) DirElemContent */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRELEMCONTENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirElemContent */ try { /*@egen*/ (DirectConstructor() | CDataSection() | CommonContent() | /*@bgen(jjtree) #ElementContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTELEMENTCONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CommonContent() : {/*@bgen(jjtree) CommonContent */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMMONCONTENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CommonContent */ try { /*@egen*/ (/*@bgen(jjtree) #PredefinedEntityRef( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTPREDEFINEDENTITYREF); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #CharRef( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTCHARREF); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{checkCharRef(token.image);processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/ | /*@bgen(jjtree) #LCurlyBraceEscape( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTLCURLYBRACEESCAPE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ | /*@bgen(jjtree) #RCurlyBraceEscape( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTRCURLYBRACEESCAPE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ | EnclosedExpr())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirCommentConstructor() : {/*@bgen(jjtree) DirCommentConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRCOMMENTCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirCommentConstructor */ try { /*@egen*/ (/*@bgen(jjtree) #XmlCommentStartForElementContent( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTXMLCOMMENTSTARTFORELEMENTCONTENT); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #XmlCommentStart( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTXMLCOMMENTSTART); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/) DirCommentContents() /*@bgen(jjtree) #XmlCommentEnd( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTXMLCOMMENTEND); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirCommentContents() : {/*@bgen(jjtree) DirCommentContents */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRCOMMENTCONTENTS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirCommentContents */ try { /*@egen*/ ((/*@bgen(jjtree) #CommentContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTCOMMENTCONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #CommentContentCharDash( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTCOMMENTCONTENTCHARDASH); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/))*/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirPIConstructor() : {/*@bgen(jjtree) DirPIConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRPICONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirPIConstructor */ try { /*@egen*/ (/*@bgen(jjtree) #ProcessingInstructionStartForElementContent( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTPROCESSINGINSTRUCTIONSTARTFORELEMENTCONTENT); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #ProcessingInstructionStart( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTPROCESSINGINSTRUCTIONSTART); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/) /*@bgen(jjtree) #PITarget( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTPITARGET); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ [/*@bgen(jjtree) #SForPI( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTSFORPI); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*/ DirPIContents()] /*@bgen(jjtree) #ProcessingInstructionEnd( true) */ { SimpleNode jjtn005 = new SimpleNode(this, JJTPROCESSINGINSTRUCTIONEND); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn005, true); jjtc005 = false; } /*@egen*/{processToken(jjtn005, token);}/*@bgen(jjtree)*/ } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DirPIContents() : {/*@bgen(jjtree) DirPIContents */ SimpleNode jjtn000 = new SimpleNode(this, JJTDIRPICONTENTS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DirPIContents */ try { /*@egen*/ (/*@bgen(jjtree) #PIContentChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTPICONTENTCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)*/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CDataSection() : {/*@bgen(jjtree) CDataSection */ SimpleNode jjtn000 = new SimpleNode(this, JJTCDATASECTION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CDataSection */ try { /*@egen*/ (/*@bgen(jjtree) #CdataSectionStartForElementContent( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTCDATASECTIONSTARTFORELEMENTCONTENT); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ | /*@bgen(jjtree) #CdataSectionStart( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTCDATASECTIONSTART); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/) CDataSectionContents() /*@bgen(jjtree) #CdataSectionEnd( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTCDATASECTIONEND); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CDataSectionContents() : {/*@bgen(jjtree) CDataSectionContents */ SimpleNode jjtn000 = new SimpleNode(this, JJTCDATASECTIONCONTENTS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CDataSectionContents */ try { /*@egen*/ (/*@bgen(jjtree) #CDataSectionChar( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTCDATASECTIONCHAR); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)*/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ComputedConstructor() : {/*@bgen(jjtree) ComputedConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPUTEDCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ComputedConstructor */ try { /*@egen*/ (CompDocConstructor() | CompElemConstructor() | CompAttrConstructor() | CompTextConstructor() | CompCommentConstructor() | CompPIConstructor())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompDocConstructor() : {/*@bgen(jjtree) CompDocConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPDOCCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompDocConstructor */ try { /*@egen*/ "document" /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompElemConstructor() : {/*@bgen(jjtree) CompElemConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPELEMCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompElemConstructor */ try { /*@egen*/ "element" (QName() | ( /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)) /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ [ContentExpr()] /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTRBRACE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ContentExpr() : {/*@bgen(jjtree) ContentExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTCONTENTEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ContentExpr */ try { /*@egen*/ Expr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompAttrConstructor() : {/*@bgen(jjtree) CompAttrConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPATTRCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompAttrConstructor */ try { /*@egen*/ "attribute" (QName() | ( /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)) /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ [Expr()] /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTRBRACE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompTextConstructor() : {/*@bgen(jjtree) CompTextConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPTEXTCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompTextConstructor */ try { /*@egen*/ "text" /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompCommentConstructor() : {/*@bgen(jjtree) CompCommentConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPCOMMENTCONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompCommentConstructor */ try { /*@egen*/ "comment" /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CompPIConstructor() : {/*@bgen(jjtree) CompPIConstructor */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMPPICONSTRUCTOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CompPIConstructor */ try { /*@egen*/ "processing-instruction" (NCName() | ( /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/ Expr() /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn002 = new SimpleNode(this, JJTRBRACE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn002, true); jjtc002 = false; } /*@egen*/{processToken(jjtn002, token);}/*@bgen(jjtree)*/ } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } /*@egen*/)) /*@bgen(jjtree) #LbraceExprEnclosure( true) */ { SimpleNode jjtn003 = new SimpleNode(this, JJTLBRACEEXPRENCLOSURE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn003, true); jjtc003 = false; } /*@egen*/{processToken(jjtn003, token);}/*@bgen(jjtree)*/ } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); } } /*@egen*/ [Expr()] /*@bgen(jjtree) #Rbrace( true) */ { SimpleNode jjtn004 = new SimpleNode(this, JJTRBRACE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn004, true); jjtc004 = false; } /*@egen*/{processToken(jjtn004, token);}/*@bgen(jjtree)*/ } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, true); } } /*@egen*//*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SingleType() : {/*@bgen(jjtree) SingleType */ SimpleNode jjtn000 = new SimpleNode(this, JJTSINGLETYPE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SingleType */ try { /*@egen*/ AtomicType() ["?"{jjtn000.processValue("?");}]/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TypeDeclaration() : {/*@bgen(jjtree) TypeDeclaration */ SimpleNode jjtn000 = new SimpleNode(this, JJTTYPEDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TypeDeclaration */ try { /*@egen*/ "as" SequenceType()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SequenceType() : {/*@bgen(jjtree) SequenceType */ SimpleNode jjtn000 = new SimpleNode(this, JJTSEQUENCETYPE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SequenceType */ try { /*@egen*/ (LOOKAHEAD(2) ( "empty-sequence"{jjtn000.processValue("empty-sequence");} "(" ")") | ( ItemType() [LOOKAHEAD(1) OccurrenceIndicator()]))/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void OccurrenceIndicator() : {/*@bgen(jjtree) OccurrenceIndicator */ SimpleNode jjtn000 = new SimpleNode(this, JJTOCCURRENCEINDICATOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) OccurrenceIndicator */ try { /*@egen*/ ("?"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("?");} | "*"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("*");} | /*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ItemType() : {/*@bgen(jjtree) ItemType */ SimpleNode jjtn000 = new SimpleNode(this, JJTITEMTYPE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ItemType */ try { /*@egen*/ (LOOKAHEAD(2) KindTest() | LOOKAHEAD(2) ( "item"{jjtn000.processValue("item");} "(" ")") | AtomicType())/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AtomicType() : {/*@bgen(jjtree) AtomicType */ SimpleNode jjtn000 = new SimpleNode(this, JJTATOMICTYPE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AtomicType */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void KindTest() : {} { (DocumentTest() | ElementTest() | AttributeTest() | SchemaElementTest() | SchemaAttributeTest() | PITest() | CommentTest() | TextTest() | AnyKindTest()) } void AnyKindTest() : {/*@bgen(jjtree) AnyKindTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTANYKINDTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AnyKindTest */ try { /*@egen*/ "node" "(" ")"/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DocumentTest() : {/*@bgen(jjtree) DocumentTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTDOCUMENTTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DocumentTest */ try { /*@egen*/ "document-node" "(" [(ElementTest() | SchemaElementTest())] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TextTest() : {/*@bgen(jjtree) TextTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTTEXTTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TextTest */ try { /*@egen*/ "text" "(" ")"/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void CommentTest() : {/*@bgen(jjtree) CommentTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTCOMMENTTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) CommentTest */ try { /*@egen*/ "comment" "(" ")"/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void PITest() : {/*@bgen(jjtree) PITest */ SimpleNode jjtn000 = new SimpleNode(this, JJTPITEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) PITest */ try { /*@egen*/ "processing-instruction" "(" [(NCName() | /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*/)] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AttributeTest() : {/*@bgen(jjtree) AttributeTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTATTRIBUTETEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AttributeTest */ try { /*@egen*/ "attribute" "(" [ ( AttribNameOrWildcard() ["," TypeName()])] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AttribNameOrWildcard() : {/*@bgen(jjtree) AttribNameOrWildcard */ SimpleNode jjtn000 = new SimpleNode(this, JJTATTRIBNAMEORWILDCARD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AttribNameOrWildcard */ try { /*@egen*/ (AttributeName() | "*"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("*");})/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SchemaAttributeTest() : {/*@bgen(jjtree) SchemaAttributeTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTSCHEMAATTRIBUTETEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SchemaAttributeTest */ try { /*@egen*/ "schema-attribute" "(" AttributeDeclaration() ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AttributeDeclaration() : {/*@bgen(jjtree) AttributeDeclaration */ SimpleNode jjtn000 = new SimpleNode(this, JJTATTRIBUTEDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AttributeDeclaration */ try { /*@egen*/ AttributeName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ElementTest() : {/*@bgen(jjtree) ElementTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTELEMENTTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ElementTest */ try { /*@egen*/ "element" "(" [ ( ElementNameOrWildcard() ["," TypeName() ["?"{jjtn000.processValue("?");}]])] ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ElementNameOrWildcard() : {/*@bgen(jjtree) ElementNameOrWildcard */ SimpleNode jjtn000 = new SimpleNode(this, JJTELEMENTNAMEORWILDCARD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ElementNameOrWildcard */ try { /*@egen*/ (ElementName() | "*"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("*");})/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SchemaElementTest() : {/*@bgen(jjtree) SchemaElementTest */ SimpleNode jjtn000 = new SimpleNode(this, JJTSCHEMAELEMENTTEST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SchemaElementTest */ try { /*@egen*/ "schema-element" "(" ElementDeclaration() ")"/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ElementDeclaration() : {/*@bgen(jjtree) ElementDeclaration */ SimpleNode jjtn000 = new SimpleNode(this, JJTELEMENTDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ElementDeclaration */ try { /*@egen*/ ElementName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void AttributeName() : {/*@bgen(jjtree) AttributeName */ SimpleNode jjtn000 = new SimpleNode(this, JJTATTRIBUTENAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) AttributeName */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ElementName() : {/*@bgen(jjtree) ElementName */ SimpleNode jjtn000 = new SimpleNode(this, JJTELEMENTNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ElementName */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TypeName() : {/*@bgen(jjtree) TypeName */ SimpleNode jjtn000 = new SimpleNode(this, JJTTYPENAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TypeName */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void URILiteral() : {/*@bgen(jjtree) URILiteral */ SimpleNode jjtn000 = new SimpleNode(this, JJTURILITERAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) URILiteral */ try { /*@egen*/ /*@bgen(jjtree) #StringLiteral( true) */ { SimpleNode jjtn001 = new SimpleNode(this, JJTSTRINGLITERAL); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); } try { /*@egen*//*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; } /*@egen*/{processToken(jjtn001, token);}/*@bgen(jjtree)*/ } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } /*@egen*//*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void RevalidationDecl() : {/*@bgen(jjtree) RevalidationDecl */ SimpleNode jjtn000 = new SimpleNode(this, JJTREVALIDATIONDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) RevalidationDecl */ try { /*@egen*/ "declare" "revalidation" ("strict"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strict");} | "lax"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("lax");} | "skip"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("skip");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void InsertExprTargetChoice() : {/*@bgen(jjtree) InsertExprTargetChoice */ SimpleNode jjtn000 = new SimpleNode(this, JJTINSERTEXPRTARGETCHOICE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) InsertExprTargetChoice */ try { /*@egen*/ ( ( ["as" ("first"{jjtn000.processValue("first");} | "last"{jjtn000.processValue("last");})] "into") | "after"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("after");} | "before"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("before");})/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void InsertExpr() : {/*@bgen(jjtree) InsertExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTINSERTEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) InsertExpr */ try { /*@egen*/ "insert" ("node" | "nodes") SourceExpr() InsertExprTargetChoice() TargetExpr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void DeleteExpr() : {/*@bgen(jjtree) DeleteExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTDELETEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) DeleteExpr */ try { /*@egen*/ "delete" ("node" | "nodes") TargetExpr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void ReplaceExpr() : {/*@bgen(jjtree) ReplaceExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTREPLACEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) ReplaceExpr */ try { /*@egen*/ "replace" [LOOKAHEAD(2) "value" "of"] "node" TargetExpr() "with" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void RenameExpr() : {/*@bgen(jjtree) RenameExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTRENAMEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) RenameExpr */ try { /*@egen*/ "rename" "node" TargetExpr() "as" NewNameExpr()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void SourceExpr() : {/*@bgen(jjtree) SourceExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTSOURCEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) SourceExpr */ try { /*@egen*/ ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TargetExpr() : {/*@bgen(jjtree) TargetExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTTARGETEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TargetExpr */ try { /*@egen*/ ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void NewNameExpr() : {/*@bgen(jjtree) NewNameExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTNEWNAMEEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) NewNameExpr */ try { /*@egen*/ ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void TransformExpr() : {/*@bgen(jjtree) TransformExpr */ SimpleNode jjtn000 = new SimpleNode(this, JJTTRANSFORMEXPR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) TransformExpr */ try { /*@egen*/ "copy" "$" VarName() ":=" ExprSingle() ("," "$" VarName() ":=" ExprSingle())* "modify" ExprSingle() "return" ExprSingle()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void NCName() : {/*@bgen(jjtree) NCName */ SimpleNode jjtn000 = new SimpleNode(this, JJTNCNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) NCName */ try { /*@egen*/ QName()/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void QName() : {/*@bgen(jjtree) QName */ SimpleNode jjtn000 = new SimpleNode(this, JJTQNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) QName */ try { /*@egen*/ (FunctionQName() | "attribute"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("attribute");} | "comment"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("comment");} | "document-node"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("document-node");} | "element"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("element");} | "if"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("if");} | "item"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("item");} | "node"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("node");} | "processing-instruction"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("processing-instruction");} | "schema-attribute"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("schema-attribute");} | "schema-element"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("schema-element");} | "text"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("text");} | "typeswitch"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("typeswitch");} | "empty-sequence"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("empty-sequence");})/*@bgen(jjtree)*/ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { throw (RuntimeException)jjte000; } if (jjte000 instanceof ParseException) { throw (ParseException)jjte000; } throw (Error)jjte000; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } /*@egen*/ } void FunctionQName() : {/*@bgen(jjtree) FunctionQName */ SimpleNode jjtn000 = new SimpleNode(this, JJTFUNCTIONQNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); /*@egen*/} {/*@bgen(jjtree) FunctionQName */ try { /*@egen*/ (/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);} | /*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);} | "xquery"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("xquery");} | "version"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("version");} | "encoding"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("encoding");} | "module"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("module");} | "namespace"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("namespace");} | "declare"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("declare");} | "boundary-space"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("boundary-space");} | "preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("preserve");} | "strip"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strip");} | "default"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("default");} | "function"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("function");} | "option"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("option");} | "ordering"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("ordering");} | "ordered"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("ordered");} | "unordered"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("unordered");} | "order"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("order");} | "empty"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("empty");} | /*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);} | /*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{processToken(((SimpleNode)jjtree.peekNode()), token);} | "copy-namespaces"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("copy-namespaces");} | "no-preserve"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("no-preserve");} | "inherit"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("inherit");} | "no-inherit"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("no-inherit");} | "collation"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("collation");} | "base-uri"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("base-uri");} | "import"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("import");} | "schema"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("schema");} | "at"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("at");} | "variable"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("variable");} | "construction"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("construction");} | "update"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("update");} | "as"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("as");} | "lax"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("lax");} | "strict"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("strict");} | "return"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("return");} | "transform"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("transform");} | "do"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("do");} | "for"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("for");} | "in"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; } /*@egen*/{jjtn000.processValue("in");} | "let"/*@bgen(jjtree)*/ { jjtree.closeNodeScope(jjtn000, true); jjtc000 = false;