org.exist.xquery.parser
Class XQueryLexer

java.lang.Object
  extended byantlr.CharScanner
      extended byorg.exist.xquery.parser.XQueryLexer
All Implemented Interfaces:
XQueryTokenTypes

public class XQueryLexer
extends antlr.CharScanner
implements XQueryTokenTypes

The XQuery/XPath lexical analyzer.

See Also:
Serialized Form

Field Summary
static BitSet _tokenSet_0
           
static BitSet _tokenSet_1
           
static BitSet _tokenSet_10
           
static BitSet _tokenSet_11
           
static BitSet _tokenSet_12
           
static BitSet _tokenSet_13
           
static BitSet _tokenSet_14
           
static BitSet _tokenSet_15
           
static BitSet _tokenSet_16
           
static BitSet _tokenSet_17
           
static BitSet _tokenSet_18
           
static BitSet _tokenSet_19
           
static BitSet _tokenSet_2
           
static BitSet _tokenSet_20
           
static BitSet _tokenSet_21
           
static BitSet _tokenSet_22
           
static BitSet _tokenSet_23
           
static BitSet _tokenSet_3
           
static BitSet _tokenSet_4
           
static BitSet _tokenSet_5
           
static BitSet _tokenSet_6
           
static BitSet _tokenSet_7
           
static BitSet _tokenSet_8
           
static BitSet _tokenSet_9
           
protected  char attrDelimChar
           
protected  XQueryContext context
           
protected  boolean inAttributeContent
           
protected  boolean inComment
           
protected  boolean inElementContent
           
protected  boolean parseStringLiterals
           
protected  boolean wsExplicit
           
 
Fields inherited from interface org.exist.xquery.parser.XQueryTokenTypes
ABSOLUTE_DSLASH, ABSOLUTE_SLASH, AFTER, ANDEQ, APOS, APOS_ATTRIBUTE_CONTENT, AT, ATOMIC_TYPE, ATTRIBUTE, ATTRIBUTE_CONTENT, ATTRIBUTE_TEST, BASECHAR, BEFORE, CHAR, CHAR_REF, COLON, COMBINING_CHAR, COMMA, COMP_ATTR_CONSTRUCTOR, COMP_COMMENT_CONSTRUCTOR, COMP_DOC_CONSTRUCTOR, COMP_ELEM_CONSTRUCTOR, COMP_NS_CONSTRUCTOR, COMP_PI_CONSTRUCTOR, COMP_TEXT_CONSTRUCTOR, DECIMAL_LITERAL, DEF_COLLATION_DECL, DEF_FUNCTION_NS_DECL, DEF_NAMESPACE_DECL, DIGIT, DIGITS, DOLLAR, DOUBLE_LITERAL, DSLASH, ELEMENT, ELEMENT_CONTENT, END_TAG_START, EOF, EQ, EXPR_COMMENT, EXTENDER, FLWOR, FUNCTION, FUNCTION_DECL, GLOBAL_VAR, GT, GTEQ, HEX_DIGITS, IDEOGRAPHIC, INTEGER_LITERAL, LCURLY, LETTER, LITERAL_ancestor, LITERAL_and, LITERAL_as, LITERAL_ascending, LITERAL_at, LITERAL_attribute, LITERAL_by, LITERAL_case, LITERAL_cast, LITERAL_castable, LITERAL_child, LITERAL_collation, LITERAL_collection, LITERAL_comment, LITERAL_construction, LITERAL_declare, LITERAL_default, LITERAL_delete, LITERAL_descendant, LITERAL_descending, LITERAL_div, LITERAL_document, LITERAL_element, LITERAL_else, LITERAL_empty, LITERAL_encoding, LITERAL_eq, LITERAL_every, LITERAL_except, LITERAL_external, LITERAL_following, LITERAL_for, LITERAL_function, LITERAL_ge, LITERAL_greatest, LITERAL_gt, LITERAL_idiv, LITERAL_if, LITERAL_import, LITERAL_in, LITERAL_insert, LITERAL_instance, LITERAL_intersect, LITERAL_into, LITERAL_is, LITERAL_isnot, LITERAL_item, LITERAL_le, LITERAL_least, LITERAL_let, LITERAL_lt, LITERAL_mod, LITERAL_module, LITERAL_namespace, LITERAL_ne, LITERAL_node, LITERAL_of, LITERAL_option, LITERAL_or, LITERAL_order, LITERAL_ordered, LITERAL_ordering, LITERAL_parent, LITERAL_preceding, LITERAL_preserve, LITERAL_rename, LITERAL_replace, LITERAL_return, LITERAL_satisfies, LITERAL_self, LITERAL_some, LITERAL_strip, LITERAL_text, LITERAL_then, LITERAL_to, LITERAL_typeswitch, LITERAL_union, LITERAL_unordered, LITERAL_update, LITERAL_validate, LITERAL_value, LITERAL_variable, LITERAL_version, LITERAL_where, LITERAL_with, LITERAL_xmlspace, LITERAL_xpointer, LITERAL_xquery, LPAREN, LPPAREN, LT, LTEQ, MINUS, MODULE, MODULE_DECL, NAMESPACE_DECL, NCNAME, NEQ, NEXT_TOKEN, NMCHAR, NMSTART, NULL_TREE_LOOKAHEAD, OPTION, ORDER_BY, OREQ, PARENT, PARENTHESIZED, PLUS, POSITIONAL_VAR, PRAGMA, PRAGMA_CONTENT, PRAGMA_QNAME, PREDEFINED_ENTITY_REF, PREDICATE, PREFIX_WILDCARD, PROLOG, QNAME, QUESTION, QUOT, QUOT_ATTRIBUTE_CONTENT, RCURLY, RPAREN, RPPAREN, SELF, SEMICOLON, SLASH, STAR, STRING_LITERAL, TEXT, UNARY_MINUS, UNARY_PLUS, UNION, VARIABLE_BINDING, VARIABLE_REF, VERSION_DECL, WILDCARD, WS, XML_CDATA, XML_CDATA_END, XML_CDATA_START, XML_COMMENT, XML_COMMENT_END, XML_PI, XML_PI_END, XML_PI_START, XPOINTER, XPOINTER_ID
 
Constructor Summary
XQueryLexer(java.io.InputStream in)
           
XQueryLexer(java.io.Reader in)
           
XQueryLexer(XQueryContext context, java.io.Reader in)
           
 
Method Summary
protected  void mANDEQ(boolean _createToken)
           
protected  void mAPOS_ATTRIBUTE_CONTENT(boolean _createToken)
          The following definition differs from the spec by allowing the '&' character, which is handled by the constructor classes.
protected  void mAPOS(boolean _createToken)
           
protected  void mAT(boolean _createToken)
           
protected  void mBASECHAR(boolean _createToken)
           
protected  void mCHAR_REF(boolean _createToken)
           
protected  void mCHAR(boolean _createToken)
           
protected  void mCOLON(boolean _createToken)
           
protected  void mCOMBINING_CHAR(boolean _createToken)
           
protected  void mCOMMA(boolean _createToken)
           
protected  void mDECIMAL_LITERAL(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
protected  void mDIGITS(boolean _createToken)
           
protected  void mDOLLAR(boolean _createToken)
           
protected  void mDOUBLE_LITERAL(boolean _createToken)
           
protected  void mDSLASH(boolean _createToken)
           
protected  void mELEMENT_CONTENT(boolean _createToken)
          The following definition differs from the spec by allowing the '&' character, which is handled by the constructor classes.
protected  void mEND_TAG_START(boolean _createToken)
           
protected  void mEQ(boolean _createToken)
           
protected  void mEXPR_COMMENT(boolean _createToken)
           
protected  void mEXTENDER(boolean _createToken)
           
protected  void mGT(boolean _createToken)
           
protected  void mGTEQ(boolean _createToken)
           
protected  void mHEX_DIGITS(boolean _createToken)
           
protected  void mIDEOGRAPHIC(boolean _createToken)
           
protected  void mINTEGER_LITERAL(boolean _createToken)
           
protected  void mLCURLY(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
protected  void mLPAREN(boolean _createToken)
           
protected  void mLPPAREN(boolean _createToken)
           
protected  void mLT(boolean _createToken)
           
protected  void mLTEQ(boolean _createToken)
           
protected  void mMINUS(boolean _createToken)
           
protected  void mNCNAME(boolean _createToken)
           
protected  void mNEQ(boolean _createToken)
           
 void mNEXT_TOKEN(boolean _createToken)
          Main method that decides which token to return next.
protected  void mNMCHAR(boolean _createToken)
           
protected  void mNMSTART(boolean _createToken)
           
protected  void mOREQ(boolean _createToken)
           
protected  void mPARENT(boolean _createToken)
           
protected  void mPLUS(boolean _createToken)
           
protected  void mPRAGMA_CONTENT(boolean _createToken)
           
protected  void mPRAGMA_QNAME(boolean _createToken)
           
protected  void mPRAGMA(boolean _createToken)
           
protected  void mPREDEFINED_ENTITY_REF(boolean _createToken)
           
protected  void mQUESTION(boolean _createToken)
           
protected  void mQUOT_ATTRIBUTE_CONTENT(boolean _createToken)
           
protected  void mQUOT(boolean _createToken)
           
protected  void mRCURLY(boolean _createToken)
           
protected  void mRPAREN(boolean _createToken)
           
protected  void mRPPAREN(boolean _createToken)
           
protected  void mSELF(boolean _createToken)
           
protected  void mSEMICOLON(boolean _createToken)
           
protected  void mSLASH(boolean _createToken)
           
protected  void mSTAR(boolean _createToken)
           
protected  void mSTRING_LITERAL(boolean _createToken)
           
protected  void mUNION(boolean _createToken)
           
protected  void mWS(boolean _createToken)
           
protected  void mXML_CDATA_END(boolean _createToken)
           
protected  void mXML_CDATA_START(boolean _createToken)
           
protected  void mXML_CDATA(boolean _createToken)
           
protected  void mXML_COMMENT_END(boolean _createToken)
           
protected  void mXML_COMMENT(boolean _createToken)
           
protected  void mXML_PI_END(boolean _createToken)
           
protected  void mXML_PI_START(boolean _createToken)
           
protected  void mXML_PI(boolean _createToken)
           
 Token nextToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wsExplicit

protected boolean wsExplicit

parseStringLiterals

protected boolean parseStringLiterals

inElementContent

protected boolean inElementContent

inAttributeContent

protected boolean inAttributeContent

attrDelimChar

protected char attrDelimChar

inComment

protected boolean inComment

context

protected XQueryContext context

_tokenSet_0

public static final BitSet _tokenSet_0

_tokenSet_1

public static final BitSet _tokenSet_1

_tokenSet_2

public static final BitSet _tokenSet_2

_tokenSet_3

public static final BitSet _tokenSet_3

_tokenSet_4

public static final BitSet _tokenSet_4

_tokenSet_5

public static final BitSet _tokenSet_5

_tokenSet_6

public static final BitSet _tokenSet_6

_tokenSet_7

public static final BitSet _tokenSet_7

_tokenSet_8

public static final BitSet _tokenSet_8

_tokenSet_9

public static final BitSet _tokenSet_9

_tokenSet_10

public static final BitSet _tokenSet_10

_tokenSet_11

public static final BitSet _tokenSet_11

_tokenSet_12

public static final BitSet _tokenSet_12

_tokenSet_13

public static final BitSet _tokenSet_13

_tokenSet_14

public static final BitSet _tokenSet_14

_tokenSet_15

public static final BitSet _tokenSet_15

_tokenSet_16

public static final BitSet _tokenSet_16

_tokenSet_17

public static final BitSet _tokenSet_17

_tokenSet_18

public static final BitSet _tokenSet_18

_tokenSet_19

public static final BitSet _tokenSet_19

_tokenSet_20

public static final BitSet _tokenSet_20

_tokenSet_21

public static final BitSet _tokenSet_21

_tokenSet_22

public static final BitSet _tokenSet_22

_tokenSet_23

public static final BitSet _tokenSet_23
Constructor Detail

XQueryLexer

public XQueryLexer(XQueryContext context,
                   java.io.Reader in)

XQueryLexer

public XQueryLexer(java.io.InputStream in)

XQueryLexer

public XQueryLexer(java.io.Reader in)
Method Detail

nextToken

public Token nextToken()
                throws TokenStreamException
Throws:
TokenStreamException

mSLASH

protected final void mSLASH(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDSLASH

protected final void mDSLASH(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mCOLON

protected final void mCOLON(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mCOMMA

protected final void mCOMMA(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mSEMICOLON

protected final void mSEMICOLON(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mSTAR

protected final void mSTAR(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mQUESTION

protected final void mQUESTION(boolean _createToken)
                        throws RecognitionException,
                               CharStreamException,
                               TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPLUS

protected final void mPLUS(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mMINUS

protected final void mMINUS(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLPPAREN

protected final void mLPPAREN(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mRPPAREN

protected final void mRPPAREN(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLPAREN

protected final void mLPAREN(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mRPAREN

protected final void mRPAREN(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mSELF

protected final void mSELF(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPARENT

protected final void mPARENT(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mUNION

protected final void mUNION(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mAT

protected final void mAT(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDOLLAR

protected final void mDOLLAR(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mANDEQ

protected final void mANDEQ(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mOREQ

protected final void mOREQ(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mEQ

protected final void mEQ(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mNEQ

protected final void mNEQ(boolean _createToken)
                   throws RecognitionException,
                          CharStreamException,
                          TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mGT

protected final void mGT(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mGTEQ

protected final void mGTEQ(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mQUOT

protected final void mQUOT(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mAPOS

protected final void mAPOS(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLTEQ

protected final void mLTEQ(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLT

protected final void mLT(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mEND_TAG_START

protected final void mEND_TAG_START(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLCURLY

protected final void mLCURLY(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mRCURLY

protected final void mRCURLY(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_COMMENT_END

protected final void mXML_COMMENT_END(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_PI_START

protected final void mXML_PI_START(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_PI_END

protected final void mXML_PI_END(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_CDATA_START

protected final void mXML_CDATA_START(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_CDATA_END

protected final void mXML_CDATA_END(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mLETTER

protected final void mLETTER(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mBASECHAR

protected final void mBASECHAR(boolean _createToken)
                        throws RecognitionException,
                               CharStreamException,
                               TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mIDEOGRAPHIC

protected final void mIDEOGRAPHIC(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDIGITS

protected final void mDIGITS(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDIGIT

protected final void mDIGIT(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mHEX_DIGITS

protected final void mHEX_DIGITS(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mNMSTART

protected final void mNMSTART(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mNMCHAR

protected final void mNMCHAR(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mCOMBINING_CHAR

protected final void mCOMBINING_CHAR(boolean _createToken)
                              throws RecognitionException,
                                     CharStreamException,
                                     TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mEXTENDER

protected final void mEXTENDER(boolean _createToken)
                        throws RecognitionException,
                               CharStreamException,
                               TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mNCNAME

protected final void mNCNAME(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mWS

protected final void mWS(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mEXPR_COMMENT

protected final void mEXPR_COMMENT(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mCHAR

protected final void mCHAR(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPRAGMA

protected final void mPRAGMA(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPRAGMA_QNAME

protected final void mPRAGMA_QNAME(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPRAGMA_CONTENT

protected final void mPRAGMA_CONTENT(boolean _createToken)
                              throws RecognitionException,
                                     CharStreamException,
                                     TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mINTEGER_LITERAL

protected final void mINTEGER_LITERAL(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDOUBLE_LITERAL

protected final void mDOUBLE_LITERAL(boolean _createToken)
                              throws RecognitionException,
                                     CharStreamException,
                                     TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mDECIMAL_LITERAL

protected final void mDECIMAL_LITERAL(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mPREDEFINED_ENTITY_REF

protected final void mPREDEFINED_ENTITY_REF(boolean _createToken)
                                     throws RecognitionException,
                                            CharStreamException,
                                            TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mCHAR_REF

protected final void mCHAR_REF(boolean _createToken)
                        throws RecognitionException,
                               CharStreamException,
                               TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mSTRING_LITERAL

protected final void mSTRING_LITERAL(boolean _createToken)
                              throws RecognitionException,
                                     CharStreamException,
                                     TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mQUOT_ATTRIBUTE_CONTENT

protected final void mQUOT_ATTRIBUTE_CONTENT(boolean _createToken)
                                      throws RecognitionException,
                                             CharStreamException,
                                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mAPOS_ATTRIBUTE_CONTENT

protected final void mAPOS_ATTRIBUTE_CONTENT(boolean _createToken)
                                      throws RecognitionException,
                                             CharStreamException,
                                             TokenStreamException
The following definition differs from the spec by allowing the '&' character, which is handled by the constructor classes. TODO: Allow escaped quotes in attribute content. Doesn't work.

Throws:
RecognitionException
CharStreamException
TokenStreamException

mELEMENT_CONTENT

protected final void mELEMENT_CONTENT(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException
The following definition differs from the spec by allowing the '&' character, which is handled by the constructor classes. TODO: Allow escaped quotes in attribute content. Doesn't work.

Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_COMMENT

protected final void mXML_COMMENT(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_PI

protected final void mXML_PI(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mXML_CDATA

protected final void mXML_CDATA(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException
Throws:
RecognitionException
CharStreamException
TokenStreamException

mNEXT_TOKEN

public final void mNEXT_TOKEN(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Main method that decides which token to return next. We need this as many things depend on the current context.

Throws:
RecognitionException
CharStreamException
TokenStreamException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.