public class XParser extends Object implements XParserTreeConstants, XParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTXParserState |
jjtree |
Token |
token
Current token.
|
XParserTokenManager |
token_source
Generated Token Manager.
|
JJTABBREVFORWARDSTEP, JJTABBREVREVERSESTEP, JJTADDITIVEEXPR, JJTANDEXPR, JJTANYFUNCTIONTEST, JJTANYKINDTEST, JJTATOMICTYPE, JJTATTRIBNAMEORWILDCARD, JJTATTRIBUTEDECLARATION, JJTATTRIBUTENAME, JJTATTRIBUTETEST, JJTCASTABLEEXPR, JJTCASTEXPR, JJTCOMMENTTEST, JJTCOMPARISONEXPR, JJTCONTEXTITEMEXPR, JJTDECIMALLITERAL, JJTDOCUMENTTEST, JJTDOUBLELITERAL, JJTDYNAMICFUNCTIONINVOCATION, JJTELEMENTDECLARATION, JJTELEMENTNAME, JJTELEMENTNAMEORWILDCARD, JJTELEMENTTEST, JJTENCLOSEDEXPR, JJTEXPR, JJTEXPRESSIONFORMAT, JJTFOREXPR, JJTFORWARDAXIS, JJTFUNCTIONCALL, JJTFUNCTIONITEMEXPR, JJTFUNCTIONQNAME, JJTFUNCTIONTEST, JJTIFEXPR, JJTINLINEFUNCTION, JJTINSTANCEOFEXPR, JJTINTEGERLITERAL, JJTINTERSECTEXCEPTEXPR, JJTITEMTYPE, JJTLBRACE, JJTLETEXPR, JJTLITERALFUNCTIONITEM, JJTMINUS, JJTMULTIPLICATIVEEXPR, JJTNAMESPACENODETEST, JJTNAMETEST, JJTNCNAME, JJTNCNAMECOLONSTAR, jjtNodeName, JJTNODETEST, JJTOCCURRENCEINDICATOR, JJTOREXPR, JJTPARAM, JJTPARAMLIST, JJTPARENTHESIZEDEXPR, JJTPARENTHESIZEDITEMTYPE, JJTPATHEXPR, JJTPITEST, JJTPLUS, JJTPREDICATE, JJTPREDICATELIST, JJTQNAME, JJTQUANTIFIEDEXPR, JJTRANGEEXPR, JJTRBRACE, JJTREVERSEAXIS, JJTSCHEMAATTRIBUTETEST, JJTSCHEMAELEMENTTEST, JJTSEQUENCETYPE, JJTSIMPLEFORBINDING, JJTSIMPLELETBINDING, JJTSIMPLELETCLAUSE, JJTSINGLETYPE, JJTSLASH, JJTSLASHSLASH, JJTSTARCOLONNCNAME, JJTSTART, JJTSTEPEXPR, JJTSTRINGLITERAL, JJTTEXTTEST, JJTTREATEXPR, JJTTYPEDECLARATION, JJTTYPEDFUNCTIONTEST, JJTTYPENAME, JJTUNARYEXPR, JJTUNIONEXPR, JJTVARIABLEFORMAT, JJTVARNAME, JJTVOID, JJTWILDCARD, JJTXPATH
ANYTHING, BaseChar, Char, CLOSEKINDTEST, CombiningChar, DecimalLiteral, DEFAULT, Digit, Digits, DoubleLiteral, DUMMYLABEL, EOF, EscapeApos, EscapeQuot, ExpressionFormatStart, EXPRFORMAT, Extender, External, FormatLiteral, FormatLiteralEnd, FormatLiteralStart, Ideographic, IntegerLiteral, ITEMTYPE, KINDTEST, Lbrace, LessThanOpOrTagO, Letter, LocalPart, Minus, NCNameColonStar, NCNameTok, Nmchar, Nmstart, NotNumber, OCCURRENCEINDICATOR, OPERAND, OPERATOR, Plus, QNameToken, Rbrace, SINGLETYPE, skip_, Slash, SlashSlash, StarColonNCName, StringLiteral, tokenImage, VARNAME, WhitespaceChar
Constructor and Description |
---|
XParser(InputStream stream)
Constructor with InputStream.
|
XParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
XParser(Reader stream)
Constructor.
|
XParser(XParserTokenManager tm)
Constructor with generated Token Manager.
|
protected JJTXParserState jjtree
public XParserTokenManager token_source
public Token token
public Token jj_nt
public XParser(InputStream stream)
public XParser(InputStream stream, String encoding)
public XParser(Reader stream)
public XParser(XParserTokenManager tm)
public Node createNode(int id)
public final org.xmlbeam.util.intern.duplex.SimpleNode START() throws ParseException
ParseException
public final void XPath() throws ParseException
ParseException
public final void ExpressionFormat() throws ParseException
ParseException
public final void ParamList() throws ParseException
ParseException
public final void Param() throws ParseException
ParseException
public final void EnclosedExpr() throws ParseException
ParseException
public final void Expr() throws ParseException
ParseException
public final void ExprSingle() throws ParseException
ParseException
public final void ForExpr() throws ParseException
ParseException
public final void SimpleForClause() throws ParseException
ParseException
public final void SimpleForBinding() throws ParseException
ParseException
public final void LetExpr() throws ParseException
ParseException
public final void SimpleLetClause() throws ParseException
ParseException
public final void SimpleLetBinding() throws ParseException
ParseException
public final void QuantifiedExpr() throws ParseException
ParseException
public final void IfExpr() throws ParseException
ParseException
public final void OperatorExpr() throws ParseException
ParseException
public final void OrExpr() throws ParseException
ParseException
public final void AndExpr() throws ParseException
ParseException
public final void ComparisonExpr() throws ParseException
ParseException
public final void RangeExpr() throws ParseException
ParseException
public final void AdditiveExpr() throws ParseException
ParseException
public final void MultiplicativeExpr() throws ParseException
ParseException
public final void UnionExpr() throws ParseException
ParseException
public final void IntersectExceptExpr() throws ParseException
ParseException
public final void InstanceofExpr() throws ParseException
ParseException
public final void TreatExpr() throws ParseException
ParseException
public final void CastableExpr() throws ParseException
ParseException
public final void CastExpr() throws ParseException
ParseException
public final void UnaryExpr() throws ParseException
ParseException
public final void ValueExpr() throws ParseException
ParseException
public final void GeneralComp() throws ParseException
ParseException
public final void ValueComp() throws ParseException
ParseException
public final void NodeComp() throws ParseException
ParseException
public final void PathExpr() throws ParseException
ParseException
public final void RelativePathExpr() throws ParseException
ParseException
public final void StepExpr() throws ParseException
ParseException
public final void AxisStep() throws ParseException
ParseException
public final void ForwardStep() throws ParseException
ParseException
public final void ForwardAxis() throws ParseException
ParseException
public final void AbbrevForwardStep() throws ParseException
ParseException
public final void ReverseStep() throws ParseException
ParseException
public final void ReverseAxis() throws ParseException
ParseException
public final void AbbrevReverseStep() throws ParseException
ParseException
public final void NodeTest() throws ParseException
ParseException
public final void NameTest() throws ParseException
ParseException
public final void Wildcard() throws ParseException
ParseException
public final void FilterExpr() throws ParseException
ParseException
public final void PredicateList() throws ParseException
ParseException
public final void Predicate() throws ParseException
ParseException
public final void PrimaryExpr() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void NumericLiteral() throws ParseException
ParseException
public final void VarRef() throws ParseException
ParseException
public final void VariableFormat() throws ParseException
ParseException
public final void VarName() throws ParseException
ParseException
public final void ParenthesizedExpr() throws ParseException
ParseException
public final void ContextItemExpr() throws ParseException
ParseException
public final void FunctionCall() throws ParseException
ParseException
public final void FunctionItemExpr() throws ParseException
ParseException
public final void LiteralFunctionItem() throws ParseException
ParseException
public final void InlineFunction() throws ParseException
ParseException
public final void DynamicFunctionInvocation() throws ParseException
ParseException
public final void SingleType() throws ParseException
ParseException
public final void TypeDeclaration() throws ParseException
ParseException
public final void SequenceType() throws ParseException
ParseException
public final void OccurrenceIndicator() throws ParseException
ParseException
public final void ItemType() throws ParseException
ParseException
public final void AtomicType() throws ParseException
ParseException
public final void KindTest() throws ParseException
ParseException
public final void AnyKindTest() throws ParseException
ParseException
public final void DocumentTest() throws ParseException
ParseException
public final void TextTest() throws ParseException
ParseException
public final void CommentTest() throws ParseException
ParseException
public final void NamespaceNodeTest() throws ParseException
ParseException
public final void PITest() throws ParseException
ParseException
public final void AttributeTest() throws ParseException
ParseException
public final void AttribNameOrWildcard() throws ParseException
ParseException
public final void SchemaAttributeTest() throws ParseException
ParseException
public final void AttributeDeclaration() throws ParseException
ParseException
public final void ElementTest() throws ParseException
ParseException
public final void ElementNameOrWildcard() throws ParseException
ParseException
public final void SchemaElementTest() throws ParseException
ParseException
public final void ElementDeclaration() throws ParseException
ParseException
public final void AttributeName() throws ParseException
ParseException
public final void ElementName() throws ParseException
ParseException
public final void TypeName() throws ParseException
ParseException
public final void FunctionTest() throws ParseException
ParseException
public final void AnyFunctionTest() throws ParseException
ParseException
public final void TypedFunctionTest() throws ParseException
ParseException
public final void ParenthesizedItemType() throws ParseException
ParseException
public final void NCName() throws ParseException
ParseException
public final void QName() throws ParseException
ParseException
public final void FunctionQName() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(XParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2012-12-21-2018. All Rights Reserved.