public class DefsNode extends MethodDefNode implements INameNode
argsNode, bodyNode, nameNode, scope
Constructor and Description |
---|
DefsNode(ISourcePosition position,
Node receiverNode,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
String |
getName()
Gets the name of this method
|
NodeType |
getNodeType() |
Node |
getReceiverNode()
Gets the receiverNode.
|
getArgsNode, getBodyNode, getNameNode, getScope
createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public DefsNode(ISourcePosition position, Node receiverNode, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getReceiverNode()
public String getName()
getName
in interface INameNode
getName
in class MethodDefNode
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.