|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrubyparser.ast.Node
org.jrubyparser.ast.SuperNode
public class SuperNode
A call to super(...) with arguments to a method.
| Constructor Summary | |
|---|---|
SuperNode(SourcePosition position,
Node argsNode)
|
|
SuperNode(SourcePosition position,
Node argsNode,
Node iterNode)
|
|
| Method Summary | |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
Node |
getArgs()
|
Node |
getArgsNode()
Deprecated. |
Node |
getIter()
|
Node |
getIterNode()
Deprecated. |
NodeType |
getNodeType()
|
boolean |
hasParens()
|
boolean |
isSame(Node node)
Checks node for 'sameness' for diffing. |
void |
setArgs(Node argsNode)
|
void |
setHasParens(boolean hasParens)
|
void |
setIter(Node iter)
|
Node |
setIterNode(Node iterNode)
Deprecated. |
| Methods inherited from class org.jrubyparser.ast.Node |
|---|
adopt, adopt, adoptUsingNodesPosition, childNodes, comparePositionWith, createList, getClosestIScope, getClosestModule, getGrandParent, getInlineComment, getInnermostIter, getMethodFor, getNodeAt, getNodeName, getOutermostIter, getParent, getPosition, getPositionIncludingComments, getPreviousComments, insertAfter, insertAll, insertBefore, insertNode, isBlockParameter, isDescendentOf, isLeaf, isMethodParameter, setParent, setPosition, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SuperNode(SourcePosition position,
Node argsNode)
public SuperNode(SourcePosition position,
Node argsNode,
Node iterNode)
| Method Detail |
|---|
public boolean isSame(Node node)
Node
isSame in class Nodenode - The node to be compared to.
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
accept in class NodeiVisitor - the visitor@Deprecated public Node getArgsNode()
@Deprecated public Node getIterNode()
public Node getIter()
getIter in interface BlockAcceptingNode@Deprecated public Node setIterNode(Node iterNode)
public void setIter(Node iter)
setIter in interface BlockAcceptingNodepublic Node getArgs()
getArgs in interface IArgumentNodepublic boolean hasParens()
hasParens in interface IArgumentNodepublic void setArgs(Node argsNode)
setArgs in interface IArgumentNodepublic void setHasParens(boolean hasParens)
setHasParens in interface IArgumentNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||