Packages

object XPathElemParser

XPath 3.1 AST element parsing support, using cats-parse.

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.

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped