Object

eu.cdevreeze.xpathparser.parse

XPathElemParser

Related Doc: package parse

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val White: Wrapper

    Permalink

    WhitespaceApi implementation for ignoring whitespace.

    WhitespaceApi implementation for ignoring whitespace. This makes the "~" and "rep" operators consume and ignore all non-trailing whitespace.

  5. val abbrevForwardStep: fastparse.noApi.P[AbbrevForwardStep]

    Permalink
  6. val abbrevReverseStep: fastparse.noApi.P[AbbrevReverseStep.type]

    Permalink
  7. val additiveExpr: fastparse.noApi.P[AdditiveExpr]

    Permalink
  8. val andExpr: fastparse.noApi.P[AndExpr]

    Permalink
  9. val anyArrayTest: fastparse.noApi.P[AnyArrayTest.type]

    Permalink
  10. val anyAttributeTest: fastparse.noApi.P[AnyAttributeTest.type]

    Permalink
  11. val anyElementTest: fastparse.noApi.P[AnyElementTest.type]

    Permalink
  12. val anyFunctionTest: fastparse.noApi.P[AnyFunctionTest.type]

    Permalink
  13. val anyItemType: fastparse.noApi.P[AnyItemType.type]

    Permalink
  14. val anyKindTest: fastparse.noApi.P[AnyKindTest.type]

    Permalink
  15. val anyMapTest: fastparse.noApi.P[AnyMapTest.type]

    Permalink
  16. val argument: fastparse.noApi.P[Argument]

    Permalink
  17. val argumentList: fastparse.noApi.P[ArgumentList]

    Permalink
  18. val argumentPlaceholder: fastparse.noApi.P[ArgumentPlaceholder.type]

    Permalink
  19. val arrayConstructor: fastparse.noApi.P[ArrayConstructor]

    Permalink
  20. val arrayTest: fastparse.noApi.P[ArrayTest]

    Permalink
  21. val arrowExpr: fastparse.noApi.P[ArrowExpr]

    Permalink
  22. val arrowFunctionCall: fastparse.noApi.P[ArrowFunctionCall]

    Permalink
  23. val arrowFunctionSpecifier: fastparse.noApi.P[ArrowFunctionSpecifier]

    Permalink
  24. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  25. val atomicOrUnionType: fastparse.noApi.P[AtomicOrUnionType]

    Permalink
  26. val attributeAxisAbbrevForwardStep: fastparse.noApi.P[AttributeAxisAbbrevForwardStep]

    Permalink
  27. val attributeNameAndTypeTest: fastparse.noApi.P[AttributeNameAndTypeTest]

    Permalink
  28. val attributeNameTest: fastparse.noApi.P[AttributeNameTest]

    Permalink
  29. val attributeTest: fastparse.noApi.P[AttributeTest]

    Permalink
  30. val attributeTypeTest: fastparse.noApi.P[AttributeTypeTest]

    Permalink
  31. val axisStep: fastparse.noApi.P[AxisStep]

    Permalink
  32. val castExpr: fastparse.noApi.P[CastExpr]

    Permalink
  33. val castableExpr: fastparse.noApi.P[CastableExpr]

    Permalink
  34. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val commentTest: fastparse.noApi.P[CommentTest.type]

    Permalink
  36. val comp: fastparse.noApi.P[Comp]

    Permalink
  37. val comparisonExpr: fastparse.noApi.P[ComparisonExpr]

    Permalink
  38. val contextItemExpr: fastparse.noApi.P[ContextItemExpr.type]

    Permalink
  39. val curlyArrayConstructor: fastparse.noApi.P[CurlyArrayConstructor]

    Permalink
  40. val dataPiTest: fastparse.noApi.P[DataPITest]

    Permalink
  41. val documentTest: fastparse.noApi.P[DocumentTest]

    Permalink
  42. val documentTestContainingElementTest: fastparse.noApi.P[DocumentTestContainingElementTest]

    Permalink
  43. val documentTestContainingSchemaElementTest: fastparse.noApi.P[DocumentTestContainingSchemaElementTest]

    Permalink
  44. val elementNameAndTypeTest: fastparse.noApi.P[ElementNameAndTypeTest]

    Permalink
  45. val elementNameTest: fastparse.noApi.P[ElementNameTest]

    Permalink
  46. val elementTest: fastparse.noApi.P[ElementTest]

    Permalink
  47. val elementTypeTest: fastparse.noApi.P[ElementTypeTest]

    Permalink
  48. val emptySequenceType: fastparse.noApi.P[EmptySequenceType.type]

    Permalink
  49. val enclosedExpr: fastparse.noApi.P[EnclosedExpr]

    Permalink
  50. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  52. val expr: fastparse.noApi.P[Expr]

    Permalink
  53. val exprSingle: fastparse.noApi.P[ExprSingle]

    Permalink
  54. val exprSingleArgument: fastparse.noApi.P[ExprSingleArgument]

    Permalink
  55. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  56. val forExpr: fastparse.noApi.P[ForExpr]

    Permalink
  57. val forwardAxis: fastparse.noApi.P[ForwardAxis]

    Permalink
  58. val forwardAxisStep: fastparse.noApi.P[ForwardAxisStep]

    Permalink
  59. val forwardStep: fastparse.noApi.P[ForwardStep]

    Permalink
  60. val functionCall: fastparse.noApi.P[FunctionCall]

    Permalink
  61. val functionItemExpr: fastparse.noApi.P[FunctionItemExpr]

    Permalink
  62. val generalComp: fastparse.noApi.P[GeneralComp]

    Permalink
  63. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  64. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  65. val ifExpr: fastparse.noApi.P[IfExpr]

    Permalink
  66. val inlineFunctionExpr: fastparse.noApi.P[InlineFunctionExpr]

    Permalink
  67. val instanceOfExpr: fastparse.noApi.P[InstanceOfExpr]

    Permalink
  68. val integerLiteral: fastparse.noApi.P[IntegerLiteral]

    Permalink
  69. val intersectExceptExpr: fastparse.noApi.P[IntersectExceptExpr]

    Permalink
  70. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  71. val itemType: fastparse.noApi.P[ItemType]

    Permalink
  72. val keySpecifier: fastparse.noApi.P[KeySpecifier]

    Permalink
  73. val kindTest: fastparse.noApi.P[KindTest]

    Permalink
  74. val kindTestItemType: fastparse.noApi.P[KindTestItemType]

    Permalink
  75. val letExpr: fastparse.noApi.P[LetExpr]

    Permalink
  76. val literal: fastparse.noApi.P[Literal]

    Permalink
  77. val lookup: fastparse.noApi.P[PostfixLookup]

    Permalink
  78. val mapConstructor: fastparse.noApi.P[MapConstructor]

    Permalink
  79. val mapConstructorEntry: fastparse.noApi.P[MapConstructorEntry]

    Permalink
  80. val mapTest: fastparse.noApi.P[MapTest]

    Permalink
  81. val multiplicativeExpr: fastparse.noApi.P[MultiplicativeExpr]

    Permalink
  82. val nameTest: fastparse.noApi.P[NameTest]

    Permalink
  83. val namedFunctionRef: fastparse.noApi.P[NamedFunctionRef]

    Permalink
  84. val namespaceNodeTest: fastparse.noApi.P[NamespaceNodeTest.type]

    Permalink
  85. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  86. val nillableElementNameAndTypeTest: fastparse.noApi.P[NillableElementNameAndTypeTest]

    Permalink
  87. val nillableElementTypeTest: fastparse.noApi.P[NillableElementTypeTest]

    Permalink
  88. val nodeComp: fastparse.noApi.P[NodeComp]

    Permalink
  89. val nodeTest: fastparse.noApi.P[NodeTest]

    Permalink
  90. val nonAbbrevForwardStep: fastparse.noApi.P[NonAbbrevForwardStep]

    Permalink
  91. val nonAbbrevReverseStep: fastparse.noApi.P[NonAbbrevReverseStep]

    Permalink
  92. val nonEmptySequenceType: fastparse.noApi.P[SequenceType]

    Permalink
  93. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  94. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  95. val numericLiteral: fastparse.noApi.P[NumericLiteral]

    Permalink
  96. val orExpr: fastparse.noApi.P[OrExpr]

    Permalink
  97. val param: fastparse.noApi.P[Param]

    Permalink
  98. val paramList: fastparse.noApi.P[ParamList]

    Permalink
  99. val parenthesizedExpr: fastparse.noApi.P[ParenthesizedExpr]

    Permalink
  100. val parenthesizedItemType: fastparse.noApi.P[ParenthesizedItemType]

    Permalink
  101. val pathExpr: fastparse.noApi.P[PathExpr]

    Permalink
  102. val pathExprStartingWithDoubleSlash: fastparse.noApi.P[PathExpr]

    Permalink
  103. val pathExprStartingWithSingleSlash: fastparse.noApi.P[PathExpr]

    Permalink
  104. val piTest: fastparse.noApi.P[PITest]

    Permalink
  105. val postfixExpr: fastparse.noApi.P[PostfixExpr]

    Permalink
  106. val predicate: fastparse.noApi.P[Predicate]

    Permalink
  107. val primaryExpr: fastparse.noApi.P[PrimaryExpr]

    Permalink
  108. val quantifiedExpr: fastparse.noApi.P[QuantifiedExpr]

    Permalink
  109. val rangeExpr: fastparse.noApi.P[RangeExpr]

    Permalink
  110. val relativePathExpr: fastparse.noApi.P[RelativePathExpr]

    Permalink
  111. val reverseAxis: fastparse.noApi.P[ReverseAxis]

    Permalink
  112. val reverseAxisStep: fastparse.noApi.P[ReverseAxisStep]

    Permalink
  113. val reverseStep: fastparse.noApi.P[ReverseStep]

    Permalink
  114. val schemaAttributeTest: fastparse.noApi.P[SchemaAttributeTest]

    Permalink
  115. val schemaElementTest: fastparse.noApi.P[SchemaElementTest]

    Permalink
  116. val sequenceType: fastparse.noApi.P[SequenceType]

    Permalink
  117. val simpleAbbrevForwardStep: fastparse.noApi.P[SimpleAbbrevForwardStep]

    Permalink
  118. val simpleBindingInQuantifiedExpr: fastparse.noApi.P[SimpleBindingInQuantifiedExpr]

    Permalink
  119. val simpleDocumentTest: fastparse.noApi.P[SimpleDocumentTest.type]

    Permalink
  120. val simpleForBinding: fastparse.noApi.P[SimpleForBinding]

    Permalink
  121. val simpleLetBinding: fastparse.noApi.P[SimpleLetBinding]

    Permalink
  122. val simpleMapExpr: fastparse.noApi.P[SimpleMapExpr]

    Permalink
  123. val simpleNameTest: fastparse.noApi.P[SimpleNameTest]

    Permalink
  124. val simplePiTest: fastparse.noApi.P[SimplePITest.type]

    Permalink
  125. val singleType: fastparse.noApi.P[SingleType]

    Permalink
  126. val slashOnlyPathExpr: fastparse.noApi.P[PathExpr]

    Permalink
  127. val squareArrayConstructor: fastparse.noApi.P[SquareArrayConstructor]

    Permalink
  128. val stepExpr: fastparse.noApi.P[StepExpr]

    Permalink
  129. val stringConcatExpr: fastparse.noApi.P[StringConcatExpr]

    Permalink
  130. val stringLiteral: fastparse.noApi.P[StringLiteral]

    Permalink
  131. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  132. val targetPiTest: fastparse.noApi.P[TargetPITest]

    Permalink
  133. val textTest: fastparse.noApi.P[TextTest.type]

    Permalink
  134. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  135. val treatExpr: fastparse.noApi.P[TreatExpr]

    Permalink
  136. val typedArrayTest: fastparse.noApi.P[TypedArrayTest]

    Permalink
  137. val typedFunctionTest: fastparse.noApi.P[TypedFunctionTest]

    Permalink
  138. val typedMapTest: fastparse.noApi.P[TypedMapTest]

    Permalink
  139. val unaryExpr: fastparse.noApi.P[UnaryExpr]

    Permalink
  140. val unaryLookup: fastparse.noApi.P[UnaryLookup]

    Permalink
  141. val unionExpr: fastparse.noApi.P[UnionExpr]

    Permalink
  142. val valueComp: fastparse.noApi.P[ValueComp]

    Permalink
  143. val valueExpr: fastparse.noApi.P[ValueExpr]

    Permalink
  144. val varRef: fastparse.noApi.P[VarRef]

    Permalink
  145. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  148. val wildcard: fastparse.noApi.P[Wildcard]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped