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

Method tokens

basex-core/src/main/java/org/basex/query/func/db/DbText.java:85–91  ·  view source on GitHub ↗

Returns tokens to be looked up. @param qc query context @return index accessor @throws QueryException query exception

(final QueryContext qc)

Source from the content-addressed store, hash-verified

83 * @throws QueryException query exception
84 */
85 private TokenSet tokens(final QueryContext qc) throws QueryException {
86 final TokenSet token = new TokenSet();
87 for(final Item item : arg(1).atomValue(qc, info)) {
88 token.put(toToken(item));
89 }
90 return token;
91 }
92}

Callers 2

optMethod · 0.95
valueAccessMethod · 0.95

Calls 4

putMethod · 0.95
toTokenMethod · 0.80
atomValueMethod · 0.45
argMethod · 0.45

Tested by

no test coverage detected