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

Method toString

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

Source from the content-addressed store, hash-verified

70 }
71
72 @Override
73 public void toString(final QueryString qs) {
74 if(seqType.one()) {
75 qs.token("(").token(expr).token(CAST).token(AS).token(seqType).token(')');
76 } else {
77 qs.token(seqType.type).paren(expr);
78 }
79 }
80}

Callers

nothing calls this directly

Calls 3

oneMethod · 0.80
parenMethod · 0.80
tokenMethod · 0.65

Tested by

no test coverage detected