public class OpElementAsgnNode extends Node
a[4] += 5 a[3] &&= true
containsVariableAssignment, newline
Constructor and Description |
---|
OpElementAsgnNode(ISourcePosition position,
Node receiverNode,
RubySymbol operatorName,
Node argsNode,
Node valueNode) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
Node |
getArgsNode()
Gets the argsNode.
|
NodeType |
getNodeType() |
ByteList |
getOperatorByteName() |
java.lang.String |
getOperatorName()
Gets the operatorName.
|
RubySymbol |
getOperatorSymbolName() |
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
boolean |
isAnd() |
boolean |
isOr() |
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, getFile, getLine, getNodeName, getPosition, isNewline, isNil, setNewline, setPosition, toString, toString, toStringInternal
public OpElementAsgnNode(ISourcePosition position, Node receiverNode, RubySymbol operatorName, Node argsNode, Node valueNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getArgsNode()
public java.lang.String getOperatorName()
public ByteList getOperatorByteName()
public RubySymbol getOperatorSymbolName()
public Node getReceiverNode()
public boolean isOr()
public boolean isAnd()
public Node getValueNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
public boolean needsDefinitionCheck()
Node
needsDefinitionCheck
in class Node
Copyright © 2001-2018 JRuby. All Rights Reserved.