(final InlineContext ic)
| 263 | } |
| 264 | |
| 265 | @Override |
| 266 | public Expr inline(final InlineContext ic) throws QueryException { |
| 267 | boolean changed = false; |
| 268 | for(final Entry<Var, Expr> entry : global.entrySet()) { |
| 269 | final Expr inlined = entry.getValue().inline(ic); |
| 270 | if(inlined != null) { |
| 271 | changed = true; |
| 272 | entry.setValue(inlined); |
| 273 | } |
| 274 | } |
| 275 | if(!changed) return null; |
| 276 | |
| 277 | // invalidate cached flags, optimize closure |
| 278 | map.clear(); |
| 279 | return optimize(ic.cc); |
| 280 | } |
| 281 | |
| 282 | @Override |
| 283 | public Expr copy(final CompileContext cc, final IntObjectMap<Var> vm) { |
nothing calls this directly
no test coverage detected