Class Nodes.IndexAndWriteNode
java.lang.Object
org.prism.Nodes.Node
org.prism.Nodes.IndexAndWriteNode
- Enclosing class:
Nodes
Represents the use of the `&&=` operator on a call to the `[]` method.
foo.bar[baz] &&= value
^^^^^^^^^^^^^^^^^^^^^^
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Nodes.ArgumentsNodefinal Nodes.BlockArgumentNodefinal shortfinal Nodes.Nodefinal Nodes.NodeFields inherited from class org.prism.Nodes.Node
EMPTY_ARRAY, length, startOffset -
Constructor Summary
ConstructorsConstructorDescriptionIndexAndWriteNode(int startOffset, int length, short flags, Nodes.Node receiver, Nodes.ArgumentsNode arguments, Nodes.BlockArgumentNode block, Nodes.Node value) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor) booleanbooleanbooleanbooleanprotected String<T> voidvisitChildNodes(AbstractNodeVisitor<T> visitor) Methods inherited from class org.prism.Nodes.Node
endOffset, hasNewLineFlag, setNewLineFlag, setNewLineFlag, toString
-
Field Details
-
flags
public final short flags -
receiver
-
arguments
-
block
-
value
-
-
Constructor Details
-
IndexAndWriteNode
public IndexAndWriteNode(int startOffset, int length, short flags, Nodes.Node receiver, Nodes.ArgumentsNode arguments, Nodes.BlockArgumentNode block, Nodes.Node value)
-
-
Method Details
-
isVariableCall
public boolean isVariableCall() -
isAttributeWrite
public boolean isAttributeWrite() -
isIgnoreVisibility
public boolean isIgnoreVisibility() -
visitChildNodes
- Specified by:
visitChildNodesin classNodes.Node
-
childNodes
- Specified by:
childNodesin classNodes.Node
-
accept
- Specified by:
acceptin classNodes.Node
-
toString
- Specified by:
toStringin classNodes.Node