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.
- Alphabetic
- By Inheritance
- XPathElemParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val abbrevForwardStep: Parser[AbbrevForwardStep]
- val abbrevReverseStep: Parser[AbbrevReverseStep.type]
- val additiveExpr: Parser[AdditiveExpr]
- val andExpr: Parser[AndExpr]
- val anyArrayTest: Parser[AnyArrayTest.type]
- val anyAttributeTest: Parser[AnyAttributeTest.type]
- val anyElementTest: Parser[AnyElementTest.type]
- val anyFunctionTest: Parser[AnyFunctionTest.type]
- val anyItemType: Parser[AnyItemType.type]
- val anyKindTest: Parser[AnyKindTest.type]
- val anyMapTest: Parser[AnyMapTest.type]
- val argument: Parser[Argument]
- val argumentList: Parser[ArgumentList]
- val argumentPlaceholder: Parser[ArgumentPlaceholder.type]
- val arrayConstructor: Parser[ArrayConstructor]
- val arrayTest: Parser[ArrayTest]
- val arrowExpr: Parser[ArrowExpr]
- val arrowFunctionCall: Parser[ArrowFunctionCall]
- val arrowFunctionSpecifier: Parser[ArrowFunctionSpecifier]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val atomicOrUnionType: Parser[AtomicOrUnionType]
- val attributeAxisAbbrevForwardStep: Parser[AttributeAxisAbbrevForwardStep]
- val attributeNameAndTypeTest: Parser[AttributeNameAndTypeTest]
- val attributeNameTest: Parser[AttributeNameTest]
- val attributeTest: Parser[AttributeTest]
- val attributeTypeTest: Parser[AttributeTypeTest]
- val axisStep: Parser[AxisStep]
- val castExpr: Parser[CastExpr]
- val castableExpr: Parser[CastableExpr]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val commentTest: Parser[CommentTest.type]
- val comp: Parser[Comp]
- val comparisonExpr: Parser[ComparisonExpr]
- val contextItemExpr: Parser[ContextItemExpr.type]
- val curlyArrayConstructor: Parser[CurlyArrayConstructor]
- val dataPiTest: Parser[DataPITest]
- val documentTest: Parser[DocumentTest]
- val documentTestContainingElementTest: Parser[DocumentTestContainingElementTest]
- val documentTestContainingSchemaElementTest: Parser[DocumentTestContainingSchemaElementTest]
- val elementNameAndTypeTest: Parser[ElementNameAndTypeTest]
- val elementNameTest: Parser[ElementNameTest]
- val elementTest: Parser[ElementTest]
- val elementTypeTest: Parser[ElementTypeTest]
- val emptySequenceType: Parser[EmptySequenceType.type]
- val enclosedExpr: Parser[EnclosedExpr]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val expr: Parser[Expr]
- val exprSingle: Parser[ExprSingle]
- val exprSingleArgument: Parser[ExprSingleArgument]
- val forExpr: Parser[ForExpr]
- val forwardAxis: Parser[ForwardAxis]
- val forwardAxisStep: Parser[ForwardAxisStep]
- val forwardStep: Parser[ForwardStep]
- val functionCall: Parser[FunctionCall]
- val functionItemExpr: Parser[FunctionItemExpr]
- val generalComp: Parser[GeneralComp]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ifExpr: Parser[IfExpr]
- val inlineFunctionExpr: Parser[InlineFunctionExpr]
- val instanceOfExpr: Parser[InstanceOfExpr]
- val integerLiteral: Parser[IntegerLiteral]
- val intersectExceptExpr: Parser[IntersectExceptExpr]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val itemType: Parser[ItemType]
- val keySpecifier: Parser[KeySpecifier]
- val kindTest: Parser[KindTest]
- val kindTestItemType: Parser[KindTestItemType]
- val letExpr: Parser[LetExpr]
- val literal: Parser[Literal]
- val lookup: Parser[PostfixLookup]
- val mapConstructor: Parser[MapConstructor]
- val mapConstructorEntry: Parser[MapConstructorEntry]
- val mapTest: Parser[MapTest]
- val multiplicativeExpr: Parser[MultiplicativeExpr]
- val nameTest: Parser[NameTest]
- val namedFunctionRef: Parser[NamedFunctionRef]
- val namespaceNodeTest: Parser[NamespaceNodeTest.type]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nillableElementNameAndTypeTest: Parser[NillableElementNameAndTypeTest]
- val nillableElementTypeTest: Parser[NillableElementTypeTest]
- val nodeComp: Parser[NodeComp]
- val nodeTest: Parser[NodeTest]
- val nonAbbrevForwardStep: Parser[NonAbbrevForwardStep]
- val nonAbbrevReverseStep: Parser[NonAbbrevReverseStep]
- val nonEmptySequenceType: Parser[SequenceType]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numericLiteral: Parser[NumericLiteral]
- val orExpr: Parser[OrExpr]
- val param: Parser[Param]
- val paramList: Parser[ParamList]
- val parenthesizedExpr: Parser[ParenthesizedExpr]
- val parenthesizedItemType: Parser[ParenthesizedItemType]
- val pathExpr: Parser[PathExpr]
- val pathExprStartingWithDoubleSlash: Parser[PathExpr]
- val pathExprStartingWithSingleSlash: Parser[PathExpr]
- val piTest: Parser[PITest]
- val postfixExpr: Parser[PostfixExpr]
- val predicate: Parser[Predicate]
- val primaryExpr: Parser[PrimaryExpr]
- val quantifiedExpr: Parser[QuantifiedExpr]
- val quantifier: Parser[Quantifier]
- val rangeExpr: Parser[RangeExpr]
- val relativePathExpr: Parser[RelativePathExpr]
- val reverseAxis: Parser[ReverseAxis]
- val reverseAxisStep: Parser[ReverseAxisStep]
- val reverseStep: Parser[ReverseStep]
- val schemaAttributeTest: Parser[SchemaAttributeTest]
- val schemaElementTest: Parser[SchemaElementTest]
- val sequenceType: Parser[SequenceType]
- val simpleAbbrevForwardStep: Parser[SimpleAbbrevForwardStep]
- val simpleBindingInQuantifiedExpr: Parser[SimpleBindingInQuantifiedExpr]
- val simpleDocumentTest: Parser[SimpleDocumentTest.type]
- val simpleForBinding: Parser[SimpleForBinding]
- val simpleLetBinding: Parser[SimpleLetBinding]
- val simpleMapExpr: Parser[SimpleMapExpr]
- val simpleNameTest: Parser[SimpleNameTest]
- val simplePiTest: Parser[SimplePITest.type]
- val singleType: Parser[SingleType]
- val slashOnlyPathExpr: Parser[PathExpr]
- val squareArrayConstructor: Parser[SquareArrayConstructor]
- val stepExpr: Parser[StepExpr]
- val stringConcatExpr: Parser[StringConcatExpr]
- val stringLiteral: Parser[StringLiteral]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetPiTest: Parser[TargetPITest]
- val textTest: Parser[TextTest.type]
- def toString(): String
- Definition Classes
- AnyRef → Any
- val treatExpr: Parser[TreatExpr]
- val typedArrayTest: Parser[TypedArrayTest]
- val typedFunctionTest: Parser[TypedFunctionTest]
- val typedMapTest: Parser[TypedMapTest]
- val unaryExpr: Parser[UnaryExpr]
- val unaryLookup: Parser[UnaryLookup]
- val unionExpr: Parser[UnionExpr]
- val valueComp: Parser[ValueComp]
- val valueExpr: Parser[ValueExpr]
- val varRef: Parser[VarRef]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val wildcard: Parser[Wildcard]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated