Class Nodes.ConstantPathOperatorWriteNode
java.lang.Object
org.prism.Nodes.Node
org.prism.Nodes.ConstantPathOperatorWriteNode
- Enclosing class:
Nodes
Represents assigning to a constant path using an operator that isn't `=`.
Parent::Child += value
^^^^^^^^^^^^^^^^^^^^^^
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.jruby.RubySymbolfinal Nodes.ConstantPathNodefinal Nodes.NodeFields inherited from class org.prism.Nodes.Node
EMPTY_ARRAY, length, startOffset -
Constructor Summary
ConstructorsConstructorDescriptionConstantPathOperatorWriteNode(int startOffset, int length, Nodes.ConstantPathNode target, Nodes.Node value, org.jruby.RubySymbol binary_operator) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor) protected String<T> voidvisitChildNodes(AbstractNodeVisitor<T> visitor) Methods inherited from class org.prism.Nodes.Node
endOffset, hasNewLineFlag, setNewLineFlag, setNewLineFlag, toString
-
Field Details
-
target
-
value
-
binary_operator
public final org.jruby.RubySymbol binary_operator
-
-
Constructor Details
-
ConstantPathOperatorWriteNode
public ConstantPathOperatorWriteNode(int startOffset, int length, Nodes.ConstantPathNode target, Nodes.Node value, org.jruby.RubySymbol binary_operator)
-
-
Method Details
-
visitChildNodes
- Specified by:
visitChildNodesin classNodes.Node
-
childNodes
- Specified by:
childNodesin classNodes.Node
-
accept
- Specified by:
acceptin classNodes.Node
-
toString
- Specified by:
toStringin classNodes.Node
-