All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.compiler.ir.instructions.DECLARE_LOCAL_TYPE_Instr Maven / Gradle / Ivy

There is a newer version: 9.4.7.0
Show newest version
package org.jruby.compiler.ir.instructions;

import org.jruby.compiler.ir.Operation;
import org.jruby.compiler.ir.representations.InlinerInfo;

public class DECLARE_LOCAL_TYPE_Instr extends NoOperandInstr
{
    int     _argIndex;
    String  _typeName;

    public DECLARE_LOCAL_TYPE_Instr(int index, String type)
    {
        super(Operation.DECLARE_TYPE, null);
        _argIndex = index;
        _typeName = type;
    }

    public String toString() { return super.toString() + "(" + _argIndex + ":" + _typeName  + ")"; }

    public Instr cloneForInlining(InlinerInfo ii) { return this; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy