public class DefsNode extends MethodDefNode implements INameNode
containsVariableAssignment, newline
Constructor and Description |
---|
DefsNode(ISourcePosition position,
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.
|
getArgsNode, getBodyNode, getEndLine, getName, getScope
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public DefsNode(ISourcePosition position, Node receiverNode, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getReceiverNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2019 JRuby. All Rights Reserved.