|
||||||||||
| 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.SelfNode
public class SelfNode
Represents 'self' keyword
| Field Summary |
|---|
| Fields inherited from class org.jruby.ast.Node |
|---|
EMPTY_COMMENT_LIST, nodeId |
| Constructor Summary | |
|---|---|
SelfNode(ISourcePosition position)
|
|
| Method Summary | |
|---|---|
Instruction |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
java.util.List<Node> |
childNodes()
|
java.lang.String |
getName()
Get name of self node. |
| Methods inherited from class org.jruby.ast.Node |
|---|
addComment, addComments, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SelfNode(ISourcePosition position)
| Method Detail |
|---|
public Instruction accept(NodeVisitor iVisitor)
accept in class NodeiVisitor - the visitorpublic java.lang.String getName()
getName in interface INameNodepublic java.util.List<Node> childNodes()
childNodes in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||