Class Nodes.LocalVariableTargetNode
java.lang.Object
org.prism.Nodes.Node
org.prism.Nodes.LocalVariableTargetNode
- Enclosing class:
Nodes
Represents writing to a local variable in a context that doesn't have an explicit value.
foo, bar = baz
^^^ ^^^
-
Field Summary
FieldsFields inherited from class org.prism.Nodes.Node
EMPTY_ARRAY, length, startOffset -
Constructor Summary
ConstructorsConstructorDescriptionLocalVariableTargetNode(int startOffset, int length, org.jruby.RubySymbol name, int depth) -
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
-
name
public final org.jruby.RubySymbol name -
depth
public final int depth
-
-
Constructor Details
-
LocalVariableTargetNode
public LocalVariableTargetNode(int startOffset, int length, org.jruby.RubySymbol name, int depth)
-
-
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
-