public abstract class MethodDefNode extends Node implements INameNode
Modifier and Type | Field and Description |
---|---|
protected ArgsNode |
argsNode |
protected Node |
bodyNode |
protected String |
name |
protected StaticScope |
scope |
containsVariableAssignment, newline
Constructor and Description |
---|
MethodDefNode(ISourcePosition position,
String name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
ArgsNode |
getArgsNode()
Gets the argsNode.
|
Node |
getBodyNode()
Gets the body of this class.
|
String |
getName()
Gets the name.
|
StaticScope |
getScope()
Get the static scoping information.
|
accept, childNodes, containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getNodeType, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString
protected final String name
protected final ArgsNode argsNode
protected final StaticScope scope
protected final Node bodyNode
public MethodDefNode(ISourcePosition position, String name, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public ArgsNode getArgsNode()
public StaticScope getScope()
public Node getBodyNode()
Copyright © 2001-2015 JRuby. All Rights Reserved.