Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir.operands;
 
 
 public class TemporaryClosureVariable extends TemporaryVariable {
     final int closureId;
     final String prefix;
 
    public TemporaryClosureVariable(int closureIdint offset) {
        super(offset);
        this. = closureId;
        this. =  "%cl_" + closureId + "_";
        this. = getPrefix() + offset;
    }
    public TemporaryClosureVariable(String nameint offset) {
        super(nameoffset);
        this. = -1;
        this. = "";
    }
    @Override
        return new TemporaryClosureVariable();
    }
    @Override
    protected String getPrefix() {
        return this.;
    }
    @Override
    public void visit(IRVisitor visitor) {
        visitor.TemporaryClosureVariable(this);
    }
New to GrepCode? Check out our FAQ X