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

Method inline

basex-core/src/main/java/org/basex/query/expr/Catch.java:82–92  ·  view source on GitHub ↗
(final InlineContext ic)

Source from the content-addressed store, hash-verified

80 }
81
82 @Override
83 public Catch inline(final InlineContext ic) {
84 try {
85 final Expr inlined = expr.inline(ic);
86 if(inlined == null) return null;
87 expr = inlined;
88 } catch(final QueryException ex) {
89 expr = FnError.get(ex, expr);
90 }
91 return this;
92 }
93
94 /**
95 * Returns the catch expression with inlined exception values.

Callers 1

optimizeMethod · 0.95

Calls 3

getMethod · 0.95
inlineMethod · 0.65
valuesMethod · 0.45

Tested by

no test coverage detected