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