Modifier and Type | Field and Description |
---|---|
protected ArgsNode |
argsNode |
protected Node |
bodyNode |
protected ArgumentNode |
nameNode |
protected StaticScope |
scope |
Constructor and Description |
---|
MethodDefNode(ISourcePosition position,
ArgumentNode nameNode,
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.
|
ArgumentNode |
getNameNode()
Gets the name's node.
|
StaticScope |
getScope()
Get the static scoping information.
|
accept, assign, childNodes, createList, createList, createList, createList, definition, getNodeName, getNodeType, getPosition, interpret, isNil, setPosition, toString
protected final ArgumentNode nameNode
protected final ArgsNode argsNode
protected final StaticScope scope
protected final Node bodyNode
public MethodDefNode(ISourcePosition position, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode)
public ArgsNode getArgsNode()
public StaticScope getScope()
public Node getBodyNode()
public ArgumentNode getNameNode()
Copyright © 2001-2017 JRuby. All Rights Reserved.