public class DefsNode extends MethodDefNode implements INameNode
argsNode, bodyNode, containsNextBreak, endLine, name, scopecontainsVariableAssignment, newline| Constructor and Description |
|---|
DefsNode(int line,
Node receiverNode,
RubySymbol name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
int endLine) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
NodeType |
getNodeType() |
Node |
getReceiverNode()
Gets the receiverNode.
|
containsBreakNext, getArgsNode, getBodyNode, getEndLine, getName, getScope, setContainsNextBreakcontainsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic DefsNode(int line,
Node receiverNode,
RubySymbol name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
int endLine)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getReceiverNode()
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.