public abstract class RubyCallStack extends Object
Constructor and Description |
---|
RubyCallStack() |
Modifier and Type | Method and Description |
---|---|
static Backtrace |
getBacktrace(com.oracle.truffle.api.nodes.Node currentNode) |
static InternalMethod |
getCallingMethod() |
static RubyModule |
getCurrentDeclaringModule()
Called "cref" in MRI.
|
static InternalMethod |
getCurrentMethod() |
static MethodLike |
getMethod(com.oracle.truffle.api.frame.FrameInstance frame) |
static com.oracle.truffle.api.nodes.Node |
getTopMostUserCallNode() |
public static RubyModule getCurrentDeclaringModule()
public static InternalMethod getCurrentMethod()
public static InternalMethod getCallingMethod()
public static MethodLike getMethod(com.oracle.truffle.api.frame.FrameInstance frame)
public static Backtrace getBacktrace(com.oracle.truffle.api.nodes.Node currentNode)
public static com.oracle.truffle.api.nodes.Node getTopMostUserCallNode()
Copyright © 2001-2015 JRuby. All Rights Reserved.