|
||||||||||
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.Colon3Node
org.jruby.ast.Colon2Node
org.jruby.ast.Colon2MethodNode
public class Colon2MethodNode
Represents a constant path which ends in a method (e.g. Foo::bar). Note: methods with explicit parameters (e.g. Foo::bar()) will be a CallNode.
Field Summary |
---|
Fields inherited from class org.jruby.ast.Colon2Node |
---|
leftNode |
Fields inherited from class org.jruby.ast.Colon3Node |
---|
name |
Constructor Summary | |
---|---|
Colon2MethodNode(ISourcePosition position,
Node leftNode,
java.lang.String name)
|
Method Summary | |
---|---|
java.lang.String |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Methods inherited from class org.jruby.ast.Colon2Node |
---|
accept, childNodes, getEnclosingModule, getLeftNode, getNodeType |
Methods inherited from class org.jruby.ast.Colon3Node |
---|
getName, getValue, reCache, setName |
Methods inherited from class org.jruby.ast.Node |
---|
assign, createList, getNodeName, getPosition, isInvisible, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jruby.ast.types.INameNode |
---|
getName |
Constructor Detail |
---|
public Colon2MethodNode(ISourcePosition position, Node leftNode, java.lang.String name)
Method Detail |
---|
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class Colon3Node
public java.lang.String definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition
in class Colon3Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |