Packages

object XPathElemParser

XPath 3.1 AST element parsing support, using FastParse.

There are parsers for many kinds of XPath AST elements. These parsers typically expect no leading whitespace, and they typically consume only part of the input string.

Example of usage:

XPathElemParser.expr.parse(xpathString)

Using the parsers in XPathElemParser may be somewhat risky in that they may "malfunction" when called in isolation, due to the lack of context (such as cuts to avoid backtracking). Usually it is safer to stick to using the XPathParser.xpathExpr parser. On the other hand, exposing parsers for specific AST elements makes it easier to "decorate" specific parsers.

TODO Make this the default implementation of a parser interface.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XPathElemParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abbrevForwardStep[_](implicit arg0: P[Any]): P[AbbrevForwardStep]
  5. def abbrevReverseStep[_](implicit arg0: P[Any]): P[AbbrevReverseStep.type]
  6. def additiveExpr[_](implicit arg0: P[Any]): P[AdditiveExpr]
  7. def andExpr[_](implicit arg0: P[Any]): P[AndExpr]
  8. def anyArrayTest[_](implicit arg0: P[Any]): P[AnyArrayTest.type]
  9. def anyAttributeTest[_](implicit arg0: P[Any]): P[AnyAttributeTest.type]
  10. def anyElementTest[_](implicit arg0: P[Any]): P[AnyElementTest.type]
  11. def anyFunctionTest[_](implicit arg0: P[Any]): P[AnyFunctionTest.type]
  12. def anyItemType[_](implicit arg0: P[Any]): P[AnyItemType.type]
  13. def anyKindTest[_](implicit arg0: P[Any]): P[AnyKindTest.type]
  14. def anyMapTest[_](implicit arg0: P[Any]): P[AnyMapTest.type]
  15. def argument[_](implicit arg0: P[Any]): P[Argument]
  16. def argumentList[_](implicit arg0: P[Any]): P[ArgumentList]
  17. def argumentPlaceholder[_](implicit arg0: P[Any]): P[ArgumentPlaceholder.type]
  18. def arrayConstructor[_](implicit arg0: P[Any]): P[ArrayConstructor]
  19. def arrayTest[_](implicit arg0: P[Any]): P[ArrayTest]
  20. def arrowExpr[_](implicit arg0: P[Any]): P[ArrowExpr]
  21. def arrowFunctionCall[_](implicit arg0: P[Any]): P[ArrowFunctionCall]
  22. def arrowFunctionSpecifier[_](implicit arg0: P[Any]): P[ArrowFunctionSpecifier]
  23. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  24. def atomicOrUnionType[_](implicit arg0: P[Any]): P[AtomicOrUnionType]
  25. def attributeAxisAbbrevForwardStep[_](implicit arg0: P[Any]): P[AttributeAxisAbbrevForwardStep]
  26. def attributeNameAndTypeTest[_](implicit arg0: P[Any]): P[AttributeNameAndTypeTest]
  27. def attributeNameTest[_](implicit arg0: P[Any]): P[AttributeNameTest]
  28. def attributeTest[_](implicit arg0: P[Any]): P[AttributeTest]
  29. def attributeTypeTest[_](implicit arg0: P[Any]): P[AttributeTypeTest]
  30. def axisStep[_](implicit arg0: P[Any]): P[AxisStep]
  31. def castExpr[_](implicit arg0: P[Any]): P[CastExpr]
  32. def castableExpr[_](implicit arg0: P[Any]): P[CastableExpr]
  33. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  34. def commentTest[_](implicit arg0: P[Any]): P[CommentTest.type]
  35. def comp[_](implicit arg0: P[Any]): P[Comp]
  36. def comparisonExpr[_](implicit arg0: P[Any]): P[ComparisonExpr]
  37. def contextItemExpr[_](implicit arg0: P[Any]): P[ContextItemExpr.type]
  38. def curlyArrayConstructor[_](implicit arg0: P[Any]): P[CurlyArrayConstructor]
  39. def dataPiTest[_](implicit arg0: P[Any]): P[DataPITest]
  40. def documentTest[_](implicit arg0: P[Any]): P[DocumentTest]
  41. def documentTestContainingElementTest[_](implicit arg0: P[Any]): P[DocumentTestContainingElementTest]
  42. def documentTestContainingSchemaElementTest[_](implicit arg0: P[Any]): P[DocumentTestContainingSchemaElementTest]
  43. def elementNameAndTypeTest[_](implicit arg0: P[Any]): P[ElementNameAndTypeTest]
  44. def elementNameTest[_](implicit arg0: P[Any]): P[ElementNameTest]
  45. def elementTest[_](implicit arg0: P[Any]): P[ElementTest]
  46. def elementTypeTest[_](implicit arg0: P[Any]): P[ElementTypeTest]
  47. def emptySequenceType[_](implicit arg0: P[Any]): P[EmptySequenceType.type]
  48. def enclosedExpr[_](implicit arg0: P[Any]): P[EnclosedExpr]
  49. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  51. def expr[_](implicit arg0: P[Any]): P[Expr]
  52. def exprSingle[_](implicit arg0: P[Any]): P[ExprSingle]
  53. def exprSingleArgument[_](implicit arg0: P[Any]): P[ExprSingleArgument]
  54. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  55. def forExpr[_](implicit arg0: P[Any]): P[ForExpr]
  56. def forwardAxis[_](implicit arg0: P[Any]): P[ForwardAxis]
  57. def forwardAxisStep[_](implicit arg0: P[Any]): P[ForwardAxisStep]
  58. def forwardStep[_](implicit arg0: P[Any]): P[ForwardStep]
  59. def functionCall[_](implicit arg0: P[Any]): P[FunctionCall]
  60. def functionItemExpr[_](implicit arg0: P[Any]): P[FunctionItemExpr]
  61. def generalComp[_](implicit arg0: P[Any]): P[GeneralComp]
  62. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  63. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  64. def ifExpr[_](implicit arg0: P[Any]): P[IfExpr]
  65. def inlineFunctionExpr[_](implicit arg0: P[Any]): P[InlineFunctionExpr]
  66. def instanceOfExpr[_](implicit arg0: P[Any]): P[InstanceOfExpr]
  67. def integerLiteral[_](implicit arg0: P[Any]): P[IntegerLiteral]
  68. def intersectExceptExpr[_](implicit arg0: P[Any]): P[IntersectExceptExpr]
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def itemType[_](implicit arg0: P[Any]): P[ItemType]
  71. def keySpecifier[_](implicit arg0: P[Any]): P[KeySpecifier]
  72. def kindTest[_](implicit arg0: P[Any]): P[KindTest]
  73. def kindTestItemType[_](implicit arg0: P[Any]): P[KindTestItemType]
  74. def letExpr[_](implicit arg0: P[Any]): P[LetExpr]
  75. def literal[_](implicit arg0: P[Any]): P[Literal]
  76. def lookup[_](implicit arg0: P[Any]): P[PostfixLookup]
  77. def mapConstructor[_](implicit arg0: P[Any]): P[MapConstructor]
  78. def mapConstructorEntry[_](implicit arg0: P[Any]): P[MapConstructorEntry]
  79. def mapTest[_](implicit arg0: P[Any]): P[MapTest]
  80. def multiplicativeExpr[_](implicit arg0: P[Any]): P[MultiplicativeExpr]
  81. def nameTest[_](implicit arg0: P[Any]): P[NameTest]
  82. def namedFunctionRef[_](implicit arg0: P[Any]): P[NamedFunctionRef]
  83. def namespaceNodeTest[_](implicit arg0: P[Any]): P[NamespaceNodeTest.type]
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. def nillableElementNameAndTypeTest[_](implicit arg0: P[Any]): P[NillableElementNameAndTypeTest]
  86. def nillableElementTypeTest[_](implicit arg0: P[Any]): P[NillableElementTypeTest]
  87. def nodeComp[_](implicit arg0: P[Any]): P[NodeComp]
  88. def nodeTest[_](implicit arg0: P[Any]): P[NodeTest]
  89. def nonAbbrevForwardStep[_](implicit arg0: P[Any]): P[NonAbbrevForwardStep]
  90. def nonAbbrevReverseStep[_](implicit arg0: P[Any]): P[NonAbbrevReverseStep]
  91. def nonEmptySequenceType[_](implicit arg0: P[Any]): P[SequenceType]
  92. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  93. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  94. def numericLiteral[_](implicit arg0: P[Any]): P[NumericLiteral]
  95. def orExpr[_](implicit arg0: P[Any]): P[OrExpr]
  96. def param[_](implicit arg0: P[Any]): P[Param]
  97. def paramList[_](implicit arg0: P[Any]): P[ParamList]
  98. def parenthesizedExpr[_](implicit arg0: P[Any]): P[ParenthesizedExpr]
  99. def parenthesizedItemType[_](implicit arg0: P[Any]): P[ParenthesizedItemType]
  100. def pathExpr[_](implicit arg0: P[Any]): P[PathExpr]
  101. def pathExprStartingWithDoubleSlash[_](implicit arg0: P[Any]): P[PathExpr]
  102. def pathExprStartingWithSingleSlash[_](implicit arg0: P[Any]): P[PathExpr]
  103. def piTest[_](implicit arg0: P[Any]): P[PITest]
  104. def postfixExpr[_](implicit arg0: P[Any]): P[PostfixExpr]
  105. def predicate[_](implicit arg0: P[Any]): P[Predicate]
  106. def primaryExpr[_](implicit arg0: P[Any]): P[PrimaryExpr]
  107. def quantifiedExpr[_](implicit arg0: P[Any]): P[QuantifiedExpr]
  108. def rangeExpr[_](implicit arg0: P[Any]): P[RangeExpr]
  109. def relativePathExpr[_](implicit arg0: P[Any]): P[RelativePathExpr]
  110. def reverseAxis[_](implicit arg0: P[Any]): P[ReverseAxis]
  111. def reverseAxisStep[_](implicit arg0: P[Any]): P[ReverseAxisStep]
  112. def reverseStep[_](implicit arg0: P[Any]): P[ReverseStep]
  113. def schemaAttributeTest[_](implicit arg0: P[Any]): P[SchemaAttributeTest]
  114. def schemaElementTest[_](implicit arg0: P[Any]): P[SchemaElementTest]
  115. def sequenceType[_](implicit arg0: P[Any]): P[SequenceType]
  116. def simpleAbbrevForwardStep[_](implicit arg0: P[Any]): P[SimpleAbbrevForwardStep]
  117. def simpleBindingInQuantifiedExpr[_](implicit arg0: P[Any]): P[SimpleBindingInQuantifiedExpr]
  118. def simpleDocumentTest[_](implicit arg0: P[Any]): P[SimpleDocumentTest.type]
  119. def simpleForBinding[_](implicit arg0: P[Any]): P[SimpleForBinding]
  120. def simpleLetBinding[_](implicit arg0: P[Any]): P[SimpleLetBinding]
  121. def simpleMapExpr[_](implicit arg0: P[Any]): P[SimpleMapExpr]
  122. def simpleNameTest[_](implicit arg0: P[Any]): P[SimpleNameTest]
  123. def simplePiTest[_](implicit arg0: P[Any]): P[SimplePITest.type]
  124. def singleType[_](implicit arg0: P[Any]): P[SingleType]
  125. def slashOnlyPathExpr[_](implicit arg0: P[Any]): P[PathExpr]
  126. def squareArrayConstructor[_](implicit arg0: P[Any]): P[SquareArrayConstructor]
  127. def stepExpr[_](implicit arg0: P[Any]): P[StepExpr]
  128. def stringConcatExpr[_](implicit arg0: P[Any]): P[StringConcatExpr]
  129. def stringLiteral[_](implicit arg0: P[Any]): P[StringLiteral]
  130. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  131. def targetPiTest[_](implicit arg0: P[Any]): P[TargetPITest]
  132. def textTest[_](implicit arg0: P[Any]): P[TextTest.type]
  133. def toString(): String
    Definition Classes
    AnyRef → Any
  134. def treatExpr[_](implicit arg0: P[Any]): P[TreatExpr]
  135. def typedArrayTest[_](implicit arg0: P[Any]): P[TypedArrayTest]
  136. def typedFunctionTest[_](implicit arg0: P[Any]): P[TypedFunctionTest]
  137. def typedMapTest[_](implicit arg0: P[Any]): P[TypedMapTest]
  138. def unaryExpr[_](implicit arg0: P[Any]): P[UnaryExpr]
  139. def unaryLookup[_](implicit arg0: P[Any]): P[UnaryLookup]
  140. def unionExpr[_](implicit arg0: P[Any]): P[UnionExpr]
  141. def valueComp[_](implicit arg0: P[Any]): P[ValueComp]
  142. def valueExpr[_](implicit arg0: P[Any]): P[ValueExpr]
  143. def varRef[_](implicit arg0: P[Any]): P[VarRef]
  144. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  145. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  146. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  147. def wildcard[_](implicit arg0: P[Any]): P[Wildcard]

Inherited from AnyRef

Inherited from Any

Ungrouped