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, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public OpAsgnConstDeclNode(ISourcePosition position, Node lhs, RubySymbol operator, Node rhs)
public boolean isOr()
public boolean isAnd()
public Node getFirstNode()
BinaryOperatorNode
getFirstNode
in interface BinaryOperatorNode
public Node getSecondNode()
BinaryOperatorNode
getSecondNode
in interface BinaryOperatorNode
public 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 Node
public NodeType getNodeType()
getNodeType
in class Node
Copyright © 2001-2019 JRuby. All Rights Reserved.