ExecutableNode parseInline(Source source, Node context, MaterializedFrame frame) { assert context != null; InlineParsingRequest request = new InlineParsingRequest(source, context, frame); ExecutableNode snippet; try { snippet = request.parse(this); } catch (RuntimeException ex) { throw ex; } catch (Exception ex) { throw new RuntimeException(ex); } finally { request.dispose(); } return snippet; }
ExecutableNode parseInline(Source source, Node context, MaterializedFrame frame) { assert context != null; InlineParsingRequest request = new InlineParsingRequest(source, context, frame); ExecutableNode snippet; try { snippet = request.parse(this); } catch (RuntimeException ex) { throw ex; } catch (Exception ex) { throw new RuntimeException(ex); } finally { request.dispose(); } return snippet; }