MCPcopy Create free account
hub / github.com/BaseXdb/basex / axisStep

Method axisStep

basex-core/src/main/java/org/basex/query/expr/path/Path.java:247–249  ·  view source on GitHub ↗

Tries to cast the specified step into an axis step. @param index index @return axis step, or null)

(final int index)

Source from the content-addressed store, hash-verified

245 * @return axis step, or {@code null})
246 */
247 private Step axisStep(final int index) {
248 return steps[index] instanceof final Step step ? step : null;
249 }
250
251 /**
252 * Checks if this path exclusively contains self, child and attribute steps.

Callers 5

sizeMethod · 0.95
pathNodesMethod · 0.95
childrenMethod · 0.95
indexMethod · 0.95
invertStepsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected