public class OpAsgnConstDeclNode extends Node implements BinaryOperatorNode
containsVariableAssignment, newline| Constructor and Description |
|---|
OpAsgnConstDeclNode(int line,
Node lhs,
RubySymbol operator,
Node rhs) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> visitor) |
java.util.List<Node> |
childNodes() |
ByteList |
getByteOperator() |
Node |
getFirstNode()
Gets the firstNode.
|
NodeType |
getNodeType() |
java.lang.String |
getOperator() |
Node |
getSecondNode()
Gets the secondNode.
|
RubySymbol |
getSymbolOperator() |
boolean |
isAnd() |
boolean |
isOr() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic OpAsgnConstDeclNode(int line,
Node lhs,
RubySymbol operator,
Node rhs)
public boolean isOr()
public boolean isAnd()
public Node getFirstNode()
BinaryOperatorNodegetFirstNode in interface BinaryOperatorNodepublic Node getSecondNode()
BinaryOperatorNodegetSecondNode in interface BinaryOperatorNodepublic java.lang.String getOperator()
public ByteList getByteOperator()
public RubySymbol getSymbolOperator()
public <T> T accept(NodeVisitor<T> visitor)
public java.util.List<Node> childNodes()
childNodes in class Nodepublic NodeType getNodeType()
getNodeType in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.