public class OpAsgnNode extends Node
containsVariableAssignment
Constructor and Description |
---|
OpAsgnNode(ISourcePosition position,
Node receiverNode,
Node valueNode,
String variableName,
String operatorName) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
NodeType |
getNodeType() |
String |
getOperatorName()
Gets the methodName.
|
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
String |
getVariableName()
Gets the varibaleName.
|
String |
getVariableNameAsgn() |
boolean |
needsDefinitionCheck()
Check whether the given node is considered always "defined" or whether it
has some form of definition check.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, setPosition, toString, toString
public OpAsgnNode(ISourcePosition position, Node receiverNode, Node valueNode, String variableName, String operatorName)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public String getOperatorName()
public Node getReceiverNode()
public Node getValueNode()
public String getVariableName()
public String getVariableNameAsgn()
public List<Node> childNodes()
childNodes
in class Node
public boolean needsDefinitionCheck()
Node
needsDefinitionCheck
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.