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
FieldsFields inherited from class org.jruby.ast.Node
containsVariableAssignment, EMPTY_LIST, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(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, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Field Details
-
iterNode
-
-
Constructor Details
-
ZSuperNode
public ZSuperNode(int line)
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
childNodes
- Specified by:
childNodesin classNode
-
getIterNode
- Specified by:
getIterNodein interfaceBlockAcceptingNode
-
setIterNode
- Specified by:
setIterNodein interfaceBlockAcceptingNode
-