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

Method next

basex-core/src/main/java/org/basex/query/expr/Lookup.java:125–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 Iter rhs;
124
125 @Override
126 public Item next() throws QueryException {
127 while(true) {
128 if(rhs != null) {
129 final Item item = qc.next(rhs);
130 if(item != null) return item;
131 }
132 final Item item = qc.next(lhs);
133 if(item == null) return null;
134 rhs = valueIter(item);
135 }
136 }
137
138 private Iter valueIter(final Item item) throws QueryException {
139 final ValueBuilder vb = new ValueBuilder(qc);

Callers

nothing calls this directly

Calls 2

valueIterMethod · 0.95
nextMethod · 0.65

Tested by

no test coverage detected