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