package matchir
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class IrBooleanNode(value: Boolean) extends IrNodePrimitive with Product with Serializable
- final case class IrNode(label: String, value: Option[IrNodePrimitive], children: List[IrNode], ns: Option[String], attributes: IrNodeAttributes, isArray: Boolean, isXml: Boolean, path: IrNodePath) extends Product with Serializable
- final case class IrNodeAttribute(value: IrNodePrimitive, path: IrNodePath) extends Product with Serializable
- final case class IrNodeAttributes(attributes: Map[String, IrNodeAttribute]) extends Product with Serializable
- sealed abstract class IrNodeEqualityResult extends AnyRef
- sealed abstract class IrNodeMatchPermissivity extends AnyRef
- final case class IrNodeMatchingRules(rules: List[IrNodeRule], withTracing: RuleProcessTracing) extends Product with Serializable
- sealed trait IrNodePath extends AnyRef
- sealed trait IrNodePrimitive extends AnyRef
- sealed trait IrNodeRule extends AnyRef
- final case class IrNumberNode(value: Double) extends IrNodePrimitive with Product with Serializable
- final case class IrStringNode(value: String) extends IrNodePrimitive with Product with Serializable
- sealed trait PactPathParseResult extends AnyRef
- final case class RuleProcessTracing(enabled: Boolean, id: String, context: Option[String]) extends Product with Serializable
Value Members
- object IrNode extends Serializable
- object IrNodeAttributes extends Serializable
- object IrNodeEqualityResult
- object IrNodeMatchPermissivity
- object IrNodeMatchingRules extends Serializable
- object IrNodePath
- object IrNodeRule
- case object IrNullNode extends IrNodePrimitive with Product with Serializable
- object MatchIr
- object MatchIrConstants
- object PactPath
PactPath (defined in the pact standard) is JsonPath with a few tweaks to support querying XML with a nearly JsonPath-like syntax.
PactPath (defined in the pact standard) is JsonPath with a few tweaks to support querying XML with a nearly JsonPath-like syntax. Specific modifications to JsonPath are:
- names match to element names ($.body.animals maps to <animals>) - @names match to attribute names - #text match to the text elements
JsonPath support a ["xxx"] form which we use for to escape the @ and #. e.g. foo.bar["#text"] foo.bar['@id']
- object PactPathParseResult
- object RuleChecks
- object RuleProcessTracing extends Serializable