public class DefnNode extends MethodDefNode implements INameNode
argsNode, bodyNode, name, scopecontainsVariableAssignment, newline| Constructor and Description |
|---|
DefnNode(ISourcePosition position,
String name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
NodeType |
getNodeType() |
getArgsNode, getBodyNode, getName, getScopecontainsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic DefnNode(ISourcePosition position, String name, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2016 JRuby. All Rights Reserved.