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

Method toString

basex-core/src/main/java/org/basex/query/expr/If.java:270–274  ·  view source on GitHub ↗
(final QueryString qs)

Source from the content-addressed store, hash-verified

268 }
269
270 @Override
271 public void toString(final QueryString qs) {
272 qs.token(QueryText.IF).paren(cond).brace(exprs[0]);
273 if(exprs[1] != Empty.VALUE) qs.token(QueryText.ELSE).brace(exprs[1]);
274 }
275}

Callers

nothing calls this directly

Calls 3

braceMethod · 0.80
parenMethod · 0.80
tokenMethod · 0.65

Tested by

no test coverage detected