Examples of inspect()


Examples of org.jruby.compiler.ASTInspector.inspect()

        try {
            String filename = node.getPosition().getFile();
            String classname = JavaNameMangler.mangledFilenameForStartupClasspath(filename);

            ASTInspector inspector = new ASTInspector();
            inspector.inspect(node);

            StandardASMCompiler asmCompiler = new StandardASMCompiler(classname, filename);
            ASTCompiler compiler = new ASTCompiler();
            if (config.isShowBytecode()) {
                compiler.compileRoot(node, asmCompiler, inspector, false, false);
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.inspect()

            }
            IRubyObject v = RubyRegexp.nth_match(i, this);
            if (v.isNil()) {
                result.cat("nil".getBytes());
            } else {
                result.append(v.inspect());
            }
        }

        return result.cat((byte)'>');
    }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.inspect()

        if (implementationModule.isSingleton()) {
            IRubyObject attached = ((MetaClass) implementationModule).getAttached();
            if (receiver == null) {
                buf.append(implementationModule.inspect().toString());
            } else if (receiver == attached) {
                buf.append(attached.inspect().toString());
                delimeter = '.';
            } else {
                buf.append(receiver.inspect().toString());
                buf.append('(').append(attached.inspect().toString()).append(')');
                delimeter = '.';
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.inspect()

            } else if (receiver == attached) {
                buf.append(attached.inspect().toString());
                delimeter = '.';
            } else {
                buf.append(receiver.inspect().toString());
                buf.append('(').append(attached.inspect().toString()).append(')');
                delimeter = '.';
            }
        } else {
            buf.append(originModule.getName());
           
View Full Code Here

Examples of org.pentaho.reporting.designer.core.inspections.Inspection.inspect()

      for (int i = 0; i < inspections.length; i++)
      {
        final Inspection inspection = inspections[i];
        try
        {
          inspection.inspect(reportDesignerContext, r, collector);
        }
        catch (Exception e)
        {
          UncaughtExceptionsModel.getInstance().addException(e);
        }
View Full Code Here

Examples of org.stringtemplate.v4.ST.inspect()

    String s = st.render();
    Assert.assertEquals("-ax-*-ay-", s);

    // Calling inspect led to an java.lang.ArrayIndexOutOfBoundsException in
    // 4.0.2
    STViz viz = st.inspect();
    if (interactive) {
      viz.waitForClose();
    }
    else {
      waitUntilAnyWindowIsVisible(4000);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.