XPathStep.named constructor

XPathStep.named(
  1. XPathAxis axis,
  2. XPathQName name, [
  3. List<XPathExpression> predicates = const []
])

A name-test step such as age or @id.

Implementation

XPathStep.named(
  this.axis,
  XPathQName this.name, [
  List<XPathExpression> predicates = const [],
]) : test = StepTest.name,
     namespace = null,
     literal = null,
     predicates = List.unmodifiable(predicates);