Top Description Constructors Methods
org.jruby.ir

public abstract Class IRTranslator<R, S>

extends Object
Class Inheritance
Known Direct Subclasses
org.jruby.ir.interpreter.Interpreter, org.jruby.ir.Compiler
Type Parameters
<R>
type of returned object by translator
<S>
type of specific for translator object
Imports
org.jruby.ParseResult, .Ruby, .RubyInstanceConfig, org.jruby.ir.builder.IRBuilder, org.jruby.ir.interpreter.InterpreterContext, org.jruby.ir.persistence.IRWriter, .IRWriterStream, org.jruby.ir.persistence.util.IRFileExpert, org.jruby.runtime.ThreadContext, java.io.IOException

Abstract class that contains general logic for both IR Compiler and IR Interpreter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public R
execute(ThreadContext context, ParseResult result, S specificObject)

protected abstract R
execute(ThreadContext context, IRScriptBody producedIrScope, S specificObject)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IRTranslatorback to summary
public IRTranslator()

Method Detail

executeback to summary
public R execute(ThreadContext context, ParseResult result, S specificObject)
executeback to summary
protected abstract R execute(ThreadContext context, IRScriptBody producedIrScope, S specificObject)