|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.SClassNode
public class SClassNode
Singleton class definition.
class << anObject end
Constructor Summary | |
---|---|
SClassNode(ISourcePosition position,
Node recvNode,
StaticScope scope,
Node bodyNode)
|
Method Summary | |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
java.util.List<Node> |
childNodes()
|
Node |
getBodyNode()
Gets the body of this class. |
NodeType |
getNodeType()
|
Node |
getReceiverNode()
Gets the receiverNode. |
StaticScope |
getScope()
Gets the scope of this class |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Methods inherited from class org.jruby.ast.Node |
---|
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SClassNode(ISourcePosition position, Node recvNode, StaticScope scope, Node bodyNode)
Method Detail |
---|
public NodeType getNodeType()
getNodeType
in class Node
public java.lang.Object accept(NodeVisitor iVisitor)
accept
in class Node
iVisitor
- the visitorpublic Node getBodyNode()
public StaticScope getScope()
public Node getReceiverNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |