public class OpAsgnConstDeclNode extends Node implements BinaryOperatorNode
containsVariableAssignment, newline| Constructor and Description |
|---|
OpAsgnConstDeclNode(ISourcePosition position,
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, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternalpublic OpAsgnConstDeclNode(ISourcePosition position, 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-2018 JRuby. All Rights Reserved.