|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.evaluator.ASTInterpreter
public class ASTInterpreter
Constructor Summary | |
---|---|
ASTInterpreter()
|
Method Summary | |
---|---|
static RubyArray |
arrayValue(Ruby runtime,
IRubyObject value)
Deprecated. |
static IRubyObject |
aryToAry(IRubyObject value,
Ruby runtime)
Deprecated. |
static IRubyObject |
aryToAry(Ruby runtime,
IRubyObject value)
Deprecated. |
static IRubyObject |
aValueSplat(IRubyObject value,
Ruby runtime)
Deprecated. |
static IRubyObject |
aValueSplat(Ruby runtime,
IRubyObject value)
Deprecated. |
static void |
callTraceFunction(Ruby runtime,
ThreadContext context,
RubyEvent event)
|
static IRubyObject |
eval(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block block)
Deprecated. |
static IRubyObject |
evalClassDefinitionBody(Ruby runtime,
ThreadContext context,
StaticScope scope,
Node bodyNode,
RubyModule type,
IRubyObject self,
Block block)
Evaluates the body in a class or module definition statement. |
static IRubyObject |
evalSimple(ThreadContext context,
IRubyObject self,
IRubyObject src,
java.lang.String file,
int lineNumber)
Deprecated. Call with a RubyString now. |
static IRubyObject |
evalSimple(ThreadContext context,
IRubyObject self,
RubyString src,
java.lang.String file,
int lineNumber)
Evaluate the given string. |
static IRubyObject |
evalWithBinding(ThreadContext context,
IRubyObject src,
Binding binding)
Evaluate the given string under the specified binding object. |
static java.lang.String |
getArgumentDefinition(Ruby runtime,
ThreadContext context,
Node node,
java.lang.String type,
IRubyObject self,
Block block)
|
static Block |
getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block currentBlock,
Node blockNode)
|
static RubyModule |
getClassVariableBase(ThreadContext context,
Ruby runtime)
|
static java.lang.String |
getDefinition(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block aBlock)
Deprecated. |
static IRubyObject |
multipleAsgnArrayNode(Ruby runtime,
ThreadContext context,
MultipleAsgnNode iVisited,
ArrayNode node,
IRubyObject self,
Block aBlock)
|
static IRubyObject |
pollAndReturn(ThreadContext context,
IRubyObject result)
|
static IRubyObject[] |
setupArgs(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block aBlock)
|
static RubyArray |
splatValue(IRubyObject value,
Ruby runtime)
Deprecated. |
static RubyArray |
splatValue(Ruby runtime,
IRubyObject value)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASTInterpreter()
Method Detail |
---|
@Deprecated public static IRubyObject eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
public static IRubyObject evalWithBinding(ThreadContext context, IRubyObject src, Binding binding)
context
- TODOevalString
- The string containing the text to be evaluatedbinding
- The binding object under which to perform the evaluationfile
- The filename to use when reporting errors during the evaluationlineNumber
- is the line number to pretend we are starting from
public static IRubyObject evalSimple(ThreadContext context, IRubyObject self, IRubyObject src, java.lang.String file, int lineNumber)
context
- TODOevalString
- The string containing the text to be evaluatedfile
- The filename to use when reporting errors during the evaluationlineNumber
- that the eval supposedly starts from
public static IRubyObject evalSimple(ThreadContext context, IRubyObject self, RubyString src, java.lang.String file, int lineNumber)
context
- TODOevalString
- The string containing the text to be evaluatedfile
- The filename to use when reporting errors during the evaluationlineNumber
- that the eval supposedly starts from
public static void callTraceFunction(Ruby runtime, ThreadContext context, RubyEvent event)
public static IRubyObject pollAndReturn(ThreadContext context, IRubyObject result)
public static IRubyObject multipleAsgnArrayNode(Ruby runtime, ThreadContext context, MultipleAsgnNode iVisited, ArrayNode node, IRubyObject self, Block aBlock)
public static IRubyObject evalClassDefinitionBody(Ruby runtime, ThreadContext context, StaticScope scope, Node bodyNode, RubyModule type, IRubyObject self, Block block)
public static java.lang.String getArgumentDefinition(Ruby runtime, ThreadContext context, Node node, java.lang.String type, IRubyObject self, Block block)
public static Block getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
public static RubyModule getClassVariableBase(ThreadContext context, Ruby runtime)
@Deprecated public static java.lang.String getDefinition(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block aBlock)
public static IRubyObject[] setupArgs(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block aBlock)
@Deprecated public static IRubyObject aValueSplat(Ruby runtime, IRubyObject value)
@Deprecated public static RubyArray arrayValue(Ruby runtime, IRubyObject value)
@Deprecated public static IRubyObject aryToAry(Ruby runtime, IRubyObject value)
@Deprecated public static RubyArray splatValue(Ruby runtime, IRubyObject value)
@Deprecated public static RubyArray splatValue(IRubyObject value, Ruby runtime)
@Deprecated public static IRubyObject aValueSplat(IRubyObject value, Ruby runtime)
@Deprecated public static IRubyObject aryToAry(IRubyObject value, Ruby runtime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |