Package org.jruby.ast
Class ZSuperNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.ZSuperNode
- All Implemented Interfaces:
BlockAcceptingNode
a call to 'super' with no arguments in 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.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
-
ZSuperNode
public ZSuperNode(int line)
-
-
Method Details
-
getNodeType
- Specified by:
getNodeType
in classNode
- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
childNodes
- Specified by:
childNodes
in classNode
-
getIterNode
- Specified by:
getIterNode
in interfaceBlockAcceptingNode
-
setIterNode
- Specified by:
setIterNode
in interfaceBlockAcceptingNode
-