com.fatdog.xmlEngine.javacc
Class XQueryParser

java.lang.Object
  extended bycom.fatdog.xmlEngine.javacc.XQueryParser
All Implemented Interfaces:
XQueryParserConstants, XQueryParserTreeConstants

public class XQueryParser
extends java.lang.Object
implements XQueryParserTreeConstants, XQueryParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 XQueryParserTokenManager token_source
           
 
Fields inherited from interface com.fatdog.xmlEngine.javacc.XQueryParserTreeConstants
JJTAND, JJTATTRIBUTE, JJTATTRIBUTECONTENT, JJTCHARDATA, JJTCHARREF, JJTCONTENT, JJTDEFAULTNAMESPACEDECL, JJTDOT, JJTEMPTYTAG, JJTENCLOSEDEXPR, JJTEVERY, JJTFILTER, JJTFLWOR, JJTFOR, JJTFORLET, JJTFUNCTIONCALL, JJTGENERALCOMP, JJTIFTHENELSE, JJTINTEGERLIT, JJTLET, JJTNAMESPACEDECL, JJTNODECOMP, jjtNodeName, JJTNODETEST, JJTOR, JJTORDERBY, JJTORDERCOMP, JJTPARENS, JJTPARENT, JJTQIN, JJTQNAME, JJTRANGE, JJTRELPATH, JJTRETURN, JJTSEQ, JJTSLASHROOT, JJTSLASHSLASHROOT, JJTSOME, JJTSTARTNODE, JJTSTRINGLIT, JJTTAG, JJTTEXTTEST, JJTVALUECOMP, JJTVARIABLE, JJTVOID, JJTWHERE, JJTXMLSPACEPRESERVE, JJTXMLSPACESTRIP
 
Fields inherited from interface com.fatdog.xmlEngine.javacc.XQueryParserConstants
And, AnyName, APOS_ATTRIBUTE_CONTENT, AposAttContentChar, As, Ascending, AssignEquals, At, AtStringLiteral, AttributeLbrace, AttributeQNameLbrace, AttributeType, AttributeTypeForKindTest, AtWord, AxisAncestor, AxisAncestorOrSelf, AxisAttribute, AxisChild, AxisDescendant, AxisDescendantOrSelf, AxisFollowing, AxisFollowingSibling, AxisNamespace, AxisParent, AxisPreceding, AxisPrecedingSibling, AxisSelf, BaseChar, Case, Castable, CastAs, CDATA_SECTION, CDataSectionChar, CdataSectionEnd, CdataSectionStart, Char, CharRef, CloseApos, CLOSEKINDTEST, CloseQuot, Collation, ColonEquals, CombiningChar, Comma, CommaForKindTest, CommentContentChar, CommentLbrace, CommentLpar, CommentLparForKindTest, DecimalLiteral, DeclareBaseURI, DeclareCollation, DeclareDefaultElement, DeclareDefaultFunction, DeclareDefaultNamespace, DeclareNamespace, DeclareValidation, DeclareXMLSpace, Default, DEFAULT, DefaultElement, DefineFunction, DefineVariable, Descending, Digit, Digits, Div, DocumentLbrace, DocumentLpar, DocumentLparForKindTest, Dot, DotDot, DoubleLiteral, DUMMY, ELEMENT_CONTENT, ElementContentChar, ElementLbrace, ElementQNameLbrace, ElementType, ElementTypeForDocumentTest, ElementTypeForKindTest, Else, Empty, EmptyGreatest, EmptyLeast, EmptyTagClose, END_TAG, EndTagClose, EndTagOpen, EOF, Equals, EscapeApos, EscapeQuot, Every, Except, EXPR_COMMENT, ExprCommentContent, ExprCommentEnd, ExprCommentStart, EXT_KEY, Extender, Extension, ExtensionContents, ExtensionEnd, ExtensionQName, ExtensionStart, External, For, FortranEq, FortranGe, FortranGt, FortranLe, FortranLt, FortranNe, Global, Gt, GtEquals, GtGt, HexDigits, Ideographic, Idiv, IfLpar, ImportModuleToken, ImportSchemaToken, In, InContextForKindTest, Instanceof, IntegerLiteral, Intersect, Is, IsNot, Item, ITEMTYPE, KINDTEST, KINDTESTFORPI, Lbrace, LbraceExprEnclosure, Lbrack, LCurlyBraceEscape, Let, Letter, LocalPart, Lpar, Lt, LtEquals, LtLt, Minus, Mod, ModuleNamespace, MUExtension, Multiply, Namespace, NAMESPACEDECL, NAMESPACEKEYWORD, NamespaceNCNameLbrace, NCName, NCNameColonStar, NCNameForPI, NCNameForPrefix, Nillable, Nmchar, Nmstart, NodeLpar, NodeLparForKindTest, NotEquals, NotOccurrenceIndicator, OCCURRENCEINDICATOR, OccurrenceOneOrMore, OccurrenceZeroOrMore, OccurrenceZeroOrOne, OpenApos, OpenQuot, OPERATOR, Or, OrderBy, OrderByStable, PIContentChar, PILbrace, PINCNameLbrace, PITarget, Plus, Pragma, PragmaContents, PragmaKeyword, PragmaQName, PredefinedEntityRef, Prefix, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_CONTENT, ProcessingInstructionEnd, ProcessingInstructionLpar, ProcessingInstructionLparForKindTest, ProcessingInstructionStart, QName, QNAME, QNameForItemType, QNameForSequenceType, QuerySeperator, QUOT_ATTRIBUTE_CONTENT, QuotAttContentChar, Rbrace, Rbrack, RCurlyBraceEscape, Return, Root, RootDescendants, Rpar, RparAs, RparForKindTest, S, Satisfies, SchemaContextStep, SCHEMACONTEXTSTEP, SchemaContextStepSlash, SchemaGlobalContext, SchemaGlobalContextSlash, SchemaGlobalTypeName, SchemaMode, SchemaModeForDeclareValidate, SemiColon, skip_, Slash, SlashSlash, Some, Star, StarColonNCName, START_TAG, StartTagClose, StartTagOpen, StartTagOpenRoot, StringLiteral, StringLiteralForKindTest, TagQName, TextLbrace, TextLpar, TextLparForKindTest, Then, To, tokenImage, TreatAs, TypeswitchLpar, UnaryMinus, UnaryPlus, Union, URLLiteral, ValidateContext, ValidateGlobal, ValidateLbrace, ValidateSchemaMode, ValueIndicator, VariableIndicator, VarName, VARNAME, Vbar, VersionStringLiteral, Where, WhitespaceChar, XML_COMMENT, XmlCommentEnd, XmlCommentStart, XMLSPACE_DECL, XMLSpacePreserve, XMLSpaceStrip
 
Constructor Summary
XQueryParser(java.io.InputStream stream)
           
XQueryParser(java.io.Reader stream)
           
XQueryParser(XQueryParserTokenManager tm)
           
 
Method Summary
 void andExpr()
           
 void anyKindTest()
           
 void aposAttrCharData()
           
 void aposAttrValueContent()
           
 void attribute()
           
 void attributeList()
           
 void attributeValue()
           
 void charData()
           
 void comparisonExpr()
           
 void constructor()
           
 void content()
           
 void defaultNamespaceDecl()
           
 void disable_tracing()
           
 void elementConstructor()
           
 void enable_tracing()
           
 void enclosedExpr()
           
 void endTag()
           
 void expr()
           
 void exprComment()
           
 void exprSingle()
           
 void FLWORExpr()
           
 void forClause()
           
 void forLet()
           
 void forwardStep()
           
 void functionCall()
           
 Token generalComp()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 StartNode getXQueryAST()
           
 void ifExpr()
           
 void integerLiteral()
           
 void kindTest()
           
 void letClause()
           
 void literal()
           
 void mainModule()
           
 void namespaceDecl()
           
 void nameTest()
           
 Token nodeComp()
           
 void nodeTest()
           
 void orderByClause()
           
 Token orderComp()
           
 void orderSpec()
           
 void orderSpecList()
           
 void orExpr()
           
 void parensExpr()
           
 void pathExpr()
           
 void predicates()
           
 void primaryExpr()
           
 void prolog()
           
 void qName()
           
 void quantifiedExpr()
           
 void quantifiedIn()
           
 void queryBody()
           
 void quotAttrCharData()
           
 void quotAttrValueContent()
           
 void rangeExpr()
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void ReInit(XQueryParserTokenManager tm)
           
 void relativePathExpr()
           
 void reverseStep()
           
 void stepExpr()
           
 void stringLiteral()
           
 void tagQName()
           
 void textTest()
           
 Token valueComp()
           
 void variable()
           
 void varName()
           
 void whereOrderByReturn()
           
 void wildcard()
           
 void xmlSpaceDecl()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public XQueryParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

XQueryParser

public XQueryParser(java.io.InputStream stream)

XQueryParser

public XQueryParser(java.io.Reader stream)

XQueryParser

public XQueryParser(XQueryParserTokenManager tm)
Method Detail

getXQueryAST

public final StartNode getXQueryAST()
                             throws ParseException
Throws:
ParseException

exprComment

public final void exprComment()
                       throws ParseException
Throws:
ParseException

mainModule

public final void mainModule()
                      throws ParseException
Throws:
ParseException

prolog

public final void prolog()
                  throws ParseException
Throws:
ParseException

namespaceDecl

public final void namespaceDecl()
                         throws ParseException
Throws:
ParseException

defaultNamespaceDecl

public final void defaultNamespaceDecl()
                                throws ParseException
Throws:
ParseException

xmlSpaceDecl

public final void xmlSpaceDecl()
                        throws ParseException
Throws:
ParseException

queryBody

public final void queryBody()
                     throws ParseException
Throws:
ParseException

expr

public final void expr()
                throws ParseException
Throws:
ParseException

exprSingle

public final void exprSingle()
                      throws ParseException
Throws:
ParseException

FLWORExpr

public final void FLWORExpr()
                     throws ParseException
Throws:
ParseException

forLet

public final void forLet()
                  throws ParseException
Throws:
ParseException

forClause

public final void forClause()
                     throws ParseException
Throws:
ParseException

letClause

public final void letClause()
                     throws ParseException
Throws:
ParseException

whereOrderByReturn

public final void whereOrderByReturn()
                              throws ParseException
Throws:
ParseException

orderByClause

public final void orderByClause()
                         throws ParseException
Throws:
ParseException

orderSpecList

public final void orderSpecList()
                         throws ParseException
Throws:
ParseException

orderSpec

public final void orderSpec()
                     throws ParseException
Throws:
ParseException

quantifiedExpr

public final void quantifiedExpr()
                          throws ParseException
Throws:
ParseException

quantifiedIn

public final void quantifiedIn()
                        throws ParseException
Throws:
ParseException

ifExpr

public final void ifExpr()
                  throws ParseException
Throws:
ParseException

orExpr

public final void orExpr()
                  throws ParseException
Throws:
ParseException

andExpr

public final void andExpr()
                   throws ParseException
Throws:
ParseException

comparisonExpr

public final void comparisonExpr()
                          throws ParseException
Throws:
ParseException

valueComp

public final Token valueComp()
                      throws ParseException
Throws:
ParseException

generalComp

public final Token generalComp()
                        throws ParseException
Throws:
ParseException

nodeComp

public final Token nodeComp()
                     throws ParseException
Throws:
ParseException

orderComp

public final Token orderComp()
                      throws ParseException
Throws:
ParseException

rangeExpr

public final void rangeExpr()
                     throws ParseException
Throws:
ParseException

pathExpr

public final void pathExpr()
                    throws ParseException
Throws:
ParseException

relativePathExpr

public final void relativePathExpr()
                            throws ParseException
Throws:
ParseException

stepExpr

public final void stepExpr()
                    throws ParseException
Throws:
ParseException

forwardStep

public final void forwardStep()
                       throws ParseException
Throws:
ParseException

attribute

public final void attribute()
                     throws ParseException
Throws:
ParseException

nameTest

public final void nameTest()
                    throws ParseException
Throws:
ParseException

nodeTest

public final void nodeTest()
                    throws ParseException
Throws:
ParseException

kindTest

public final void kindTest()
                    throws ParseException
Throws:
ParseException

reverseStep

public final void reverseStep()
                       throws ParseException
Throws:
ParseException

wildcard

public final void wildcard()
                    throws ParseException
Throws:
ParseException

textTest

public final void textTest()
                    throws ParseException
Throws:
ParseException

anyKindTest

public final void anyKindTest()
                       throws ParseException
Throws:
ParseException

predicates

public final void predicates()
                      throws ParseException
Throws:
ParseException

primaryExpr

public final void primaryExpr()
                       throws ParseException
Throws:
ParseException

constructor

public final void constructor()
                       throws ParseException
Throws:
ParseException

elementConstructor

public final void elementConstructor()
                              throws ParseException
Throws:
ParseException

attributeList

public final void attributeList()
                         throws ParseException
Throws:
ParseException

attributeValue

public final void attributeValue()
                          throws ParseException
Throws:
ParseException

quotAttrValueContent

public final void quotAttrValueContent()
                                throws ParseException
Throws:
ParseException

aposAttrValueContent

public final void aposAttrValueContent()
                                throws ParseException
Throws:
ParseException

quotAttrCharData

public final void quotAttrCharData()
                            throws ParseException
Throws:
ParseException

aposAttrCharData

public final void aposAttrCharData()
                            throws ParseException
Throws:
ParseException

tagQName

public final void tagQName()
                    throws ParseException
Throws:
ParseException

endTag

public final void endTag()
                  throws ParseException
Throws:
ParseException

content

public final void content()
                   throws ParseException
Throws:
ParseException

enclosedExpr

public final void enclosedExpr()
                        throws ParseException
Throws:
ParseException

charData

public final void charData()
                    throws ParseException
Throws:
ParseException

variable

public final void variable()
                    throws ParseException
Throws:
ParseException

varName

public final void varName()
                   throws ParseException
Throws:
ParseException

literal

public final void literal()
                   throws ParseException
Throws:
ParseException

parensExpr

public final void parensExpr()
                      throws ParseException
Throws:
ParseException

qName

public final void qName()
                 throws ParseException
Throws:
ParseException

stringLiteral

public final void stringLiteral()
                         throws ParseException
Throws:
ParseException

integerLiteral

public final void integerLiteral()
                          throws ParseException
Throws:
ParseException

functionCall

public final void functionCall()
                        throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(XQueryParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()