Esempio n. 1
0
    @Specialization
    public Object parseTree() {
      notDesignedForCompilation();

      final org.jruby.ast.Node parseTree =
          RubyCallStack.getCurrentMethod().getSharedMethodInfo().getParseTree();

      if (parseTree == null) {
        return NilPlaceholder.INSTANCE;
      } else {
        return getContext().makeString(parseTree.toString(true, 0));
      }
    }