Package | Description |
---|---|
org.jruby | |
org.jruby.ast | |
org.jruby.ir |
Modifier and Type | Method and Description |
---|---|
ParseResult |
Ruby.parseFile(java.lang.String file,
java.io.InputStream in,
DynamicScope scope) |
ParseResult |
Ruby.parseFile(java.lang.String file,
java.io.InputStream in,
DynamicScope scope,
int lineNumber) |
ParseResult |
Ruby.parseFileFromMain(java.lang.String file,
java.io.InputStream in,
DynamicScope scope) |
ParseResult |
Ruby.parseFromMain(java.lang.String fileName,
java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
Ruby.runInterpreter(ParseResult parseResult) |
IRubyObject |
Ruby.runInterpreter(ThreadContext context,
ParseResult parseResult,
IRubyObject self) |
Modifier and Type | Class and Description |
---|---|
class |
RootNode
Represents the top of the AST.
|
Modifier and Type | Class and Description |
---|---|
class |
IRClassBody |
class |
IRClosure |
class |
IREvalScript |
class |
IRFor
Represents a 'for' loop
|
class |
IRMetaClassBody |
class |
IRMethod |
class |
IRModuleBody |
class |
IRScope
Right now, this class abstracts the following execution scopes:
Method, Closure, Module, Class, MetaClass
Top-level Script, and Eval Script
In the compiler-land, IR versions of these scopes encapsulate only as much
information as is required to convert Ruby code into equivalent Java code.
|
class |
IRScriptBody |
Modifier and Type | Method and Description |
---|---|
R |
IRTranslator.execute(Ruby runtime,
ParseResult result,
S specificObject) |
Copyright © 2001-2022 JRuby. All Rights Reserved.