org.jruby.compiler.ir.instructions
Class LineNumberInstr
java.lang.Object
org.jruby.compiler.ir.instructions.Instr
org.jruby.compiler.ir.instructions.NoOperandInstr
org.jruby.compiler.ir.instructions.LineNumberInstr
public class LineNumberInstr
- extends NoOperandInstr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lineNumber
public final int lineNumber
scope
public final IRScope scope
LineNumberInstr
public LineNumberInstr(IRScope scope,
int lineNumber)
toString
public java.lang.String toString()
- Overrides:
toString
in class Instr
cloneForInlining
public Instr cloneForInlining(InlinerInfo ii)
- Description copied from class:
Instr
- Clone the instruction for inlining -- this will rename all variables (including local variables and self!)
and replace RECV_ARG and RETURN instructions to regular copy instructions,
- Specified by:
cloneForInlining
in class Instr
interpret
public Label interpret(InterpreterContext interp,
IRubyObject self)
- Overrides:
interpret
in class Instr
Copyright © 2002-2009 JRuby Team. All Rights Reserved.