public class DefnNode extends MethodDefNode implements INameNode
argsNode, bodyNode, name, scope
containsVariableAssignment, 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, getScope
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString
public DefnNode(ISourcePosition position, String name, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.