public class InstAsgnNode extends AssignableNode implements INameNode
containsVariableAssignment, newline| Constructor and Description |
|---|
InstAsgnNode(ISourcePosition position,
RubySymbol name,
Node valueNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
RubySymbol |
getName()
Gets the name.
|
NodeType |
getNodeType() |
getValueNode, setValueNodecontainsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternalpublic InstAsgnNode(ISourcePosition position, RubySymbol name, Node valueNode)
name - the name of the instance variablevalueNode - the value of the variablepublic NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public RubySymbol getName()
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2018 JRuby. All Rights Reserved.