public class OpAsgnNode extends Node
containsVariableAssignment, newline| Constructor and Description |
|---|
OpAsgnNode(ISourcePosition position,
Node receiverNode,
Node valueNode,
RubySymbol variableName,
RubySymbol operatorName,
boolean isLazy) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
NodeType |
getNodeType() |
ByteList |
getOperatorByteName() |
java.lang.String |
getOperatorName()
Gets the methodName.
|
RubySymbol |
getOperatorSymbolName() |
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
ByteList |
getVariableByteName() |
ByteList |
getVariableByteNameAsgn() |
java.lang.String |
getVariableName()
Gets the varibaleName.
|
java.lang.String |
getVariableNameAsgn() |
RubySymbol |
getVariableSymbolName() |
RubySymbol |
getVariableSymbolNameAsgn() |
boolean |
isAnd() |
boolean |
isLazy() |
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, toStringInternalpublic OpAsgnNode(ISourcePosition position, Node receiverNode, Node valueNode, RubySymbol variableName, RubySymbol operatorName, boolean isLazy)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public java.lang.String getOperatorName()
public ByteList getOperatorByteName()
public RubySymbol getOperatorSymbolName()
public boolean isOr()
public boolean isAnd()
public Node getReceiverNode()
public Node getValueNode()
public java.lang.String getVariableName()
public ByteList getVariableByteName()
public RubySymbol getVariableSymbolName()
public java.lang.String getVariableNameAsgn()
public ByteList getVariableByteNameAsgn()
public RubySymbol getVariableSymbolNameAsgn()
public java.util.List<Node> childNodes()
childNodes in class Nodepublic boolean isLazy()
public boolean needsDefinitionCheck()
NodeneedsDefinitionCheck in class NodeCopyright © 2001-2018 JRuby. All Rights Reserved.