public class InstAsgnNode extends AssignableNode implements INameNode
containsVariableAssignment, newline
Constructor and Description |
---|
InstAsgnNode(ISourcePosition position,
java.lang.String 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() |
java.lang.String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
void |
setName(java.lang.String name) |
getValueNode, setValueNode
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public InstAsgnNode(ISourcePosition position, java.lang.String name, Node valueNode)
name
- the name of the instance variablevalueNode
- the value of the variablepublic NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public java.lang.String getName()
public java.util.List<Node> childNodes()
childNodes
in class Node
public void setName(java.lang.String name)
Copyright © 2001-2017 JRuby. All Rights Reserved.