org.jruby.ir.operands.StandardError Maven / Gradle / Ivy
package org.jruby.ir.operands;
import org.jruby.ir.IRVisitor;
import org.jruby.ir.transformations.inlining.InlinerInfo;
import java.util.List;
// Represents the StandardError object -- this operand used in rescue blocks
// for when the rescue block doesn't specify an exception object class
public class StandardError extends Operand {
public String toString() { return "StandardError"; }
@Override
public void addUsedVariables(List l) {
/* Nothing to do */
}
@Override
public Operand cloneForInlining(InlinerInfo ii) {
return this;
}
@Override
public void visit(IRVisitor visitor) {
visitor.StandardError(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy