Package | Description |
---|---|
org.jruby | |
org.jruby.ast.executable | |
org.jruby.embed.internal | |
org.jruby.internal.runtime.methods | |
org.jruby.runtime.load | |
org.jruby.util |
Modifier and Type | Method and Description |
---|---|
Script |
Ruby.tryCompile(Node node)
Try to compile the code associated with the given Node, returning an
instance of the successfully-compiled Script or null if the script could
not be compiled.
|
Script |
Ruby.tryCompile(Node node,
ASTInspector inspector)
Try to compile the code associated with the given Node, returning an
instance of the successfully-compiled Script or null if the script could
not be compiled.
|
Modifier and Type | Method and Description |
---|---|
Set<Script> |
Ruby.getJittedMethods() |
Modifier and Type | Method and Description |
---|---|
void |
Ruby.loadScript(Script script) |
void |
Ruby.loadScript(Script script,
boolean wrap) |
IRubyObject |
Ruby.runScript(Script script) |
IRubyObject |
Ruby.runScript(Script script,
boolean wrap) |
IRubyObject |
Ruby.runScriptBody(Script script)
This is used for the "gets" loop, and we bypass 'load' to use an
already-prepared, already-pushed scope for the script body.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractScript |
Constructor and Description |
---|
EmbedEvalUnitImpl(ScriptingContainer container,
Node node,
ManyVarsDynamicScope scope,
Script script) |
Modifier and Type | Method and Description |
---|---|
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
void |
DefaultMethod.switchToJitted(Script jitCompiledScript,
CallConfiguration jitCallConfig) |
Constructor and Description |
---|
JittedMethod(RubyModule implementationClass,
StaticScope staticScope,
Script jitCompiledScript,
String name,
CallConfiguration jitCallConfig,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod realMethod) |
TraceableJittedMethod(RubyModule implementationClass,
StaticScope staticScope,
Script jitCompiledScript,
String name,
CallConfiguration jitCallConfig,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod realMethod) |
Modifier and Type | Method and Description |
---|---|
static Script |
CompiledScriptLoader.loadScriptFromFile(Ruby runtime,
InputStream inStream,
String resourceName) |
Constructor and Description |
---|
LoadService.ScriptClassSearcher.ScriptClassLibrary(Script script) |
Modifier and Type | Field and Description |
---|---|
static ClassCache<Script> |
NailMain.classCache |
Copyright © 2001-2013 JRuby. All Rights Reserved.