Package org.jruby.ast
Class OpAsgnConstDeclNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.OpAsgnConstDeclNode
- All Implemented Interfaces:
BinaryOperatorNode
A::B ||= 1
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> visitor) Gets the firstNode.Gets the secondNode.booleanisAnd()booleanisOr()Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
OpAsgnConstDeclNode
-
-
Method Details
-
isOr
public boolean isOr() -
isAnd
public boolean isAnd() -
getFirstNode
Description copied from interface:BinaryOperatorNodeGets the firstNode.- Specified by:
getFirstNodein interfaceBinaryOperatorNode- Returns:
- Returns a Node
-
getSecondNode
Description copied from interface:BinaryOperatorNodeGets the secondNode.- Specified by:
getSecondNodein interfaceBinaryOperatorNode- Returns:
- Returns a Node
-
getOperator
-
getByteOperator
-
getSymbolOperator
-
accept
-
childNodes
- Specified by:
childNodesin classNode
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-