Package org.jruby.ast
Class SuperNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.SuperNode
- All Implemented Interfaces:
BlockAcceptingNode
A call to super(...) with arguments to a method.
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> iVisitor) Accept for the visitor pattern.Gets the argsNode.setIterNode
(Node iterNode) Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
SuperNode
-
SuperNode
-
-
Method Details
-
getNodeType
- Specified by:
getNodeType
in classNode
- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
getArgsNode
Gets the argsNode.- Returns:
- Returns a Node
-
childNodes
- Specified by:
childNodes
in classNode
-
getIterNode
- Specified by:
getIterNode
in interfaceBlockAcceptingNode
-
setIterNode
- Specified by:
setIterNode
in interfaceBlockAcceptingNode
-