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

Method parse

basex-core/src/main/java/org/basex/query/value/node/FPI.java:96–99  ·  view source on GitHub ↗

Checks the specified token for validity. @param atom token to be checked @param info input info (can be null) @return token @throws QueryException query exception

(final byte[] atom, final InputInfo info)

Source from the content-addressed store, hash-verified

94 * @throws QueryException query exception
95 */
96 public static byte[] parse(final byte[] atom, final InputInfo info) throws QueryException {
97 if(contains(atom, CLOSE)) throw CPICONT_X.get(info, atom);
98 return atom;
99 }
100}

Callers 2

itemMethod · 0.95
itemMethod · 0.95

Calls 2

containsMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected