Top Description Fields Constructors Methods
org.jruby.ast

public abstract Class AssignableNode

extends Node
Class Inheritance
Known Direct Subclasses
org.jruby.ast.ClassVarAsgnNode, org.jruby.ast.ClassVarDeclNode, org.jruby.ast.ConstDeclNode, org.jruby.ast.DAsgnNode, org.jruby.ast.GlobalAsgnNode, org.jruby.ast.InstAsgnNode, org.jruby.ast.MultipleAsgnNode, org.jruby.ast.LocalAsgnNode

Base class of any node which can be assigned to.

Field Summary

Modifier and TypeField and Description
private Node
Inherited from org.jruby.ast.Node:
containsVariableAssignmentEMPTY_LISTnewline

Constructor Summary

AccessConstructor and Description
public
AssignableNode(int line)

public
AssignableNode(int line, Node valueNode, boolean containsAssignment)

Method Summary

Modifier and TypeMethod and Description
public Node

Returns:

Returns a Node
getValueNode
()

Gets the valueNode.

public void
setValueNode(Node
The valueNode to set
valueNode
)

Sets the valueNode.

Inherited from org.jruby.ast.Node:
acceptchildNodescontainsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNamegetNodeTypeisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Field Detail

valueNodeback to summary
private Node valueNode

Constructor Detail

AssignableNodeback to summary
public AssignableNode(int line)
AssignableNodeback to summary
public AssignableNode(int line, Node valueNode, boolean containsAssignment)

Method Detail

getValueNodeback to summary
public Node getValueNode()

Gets the valueNode.

Returns:Node

Returns a Node

setValueNodeback to summary
public void setValueNode(Node valueNode)

Sets the valueNode.

Parameters
valueNode:Node

The valueNode to set