public class DefnNode extends MethodDefNode implements INameNode
argsNode, bodyNode, nameNode, scopecontainsVariableAssignment| Constructor and Description |
|---|
DefnNode(ISourcePosition position,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
String |
getName()
Get the name of this method
|
NodeType |
getNodeType() |
getArgsNode, getBodyNode, getNameNode, getScopecontainsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringpublic DefnNode(ISourcePosition position, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public String getName()
getName in interface INameNodegetName in class MethodDefNodepublic List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.