Class Node::DASGN
In: ext/nodeinfo.c
Parent: Node

Represents dynamic local variable assignment. Dynamic assignment differs from static assignment in that the slots for static local variables are allocated when the method is called, wereas slots for dynamic variables are allocated when the variable is first assigned to. When searching for the variable, dynamic assignment searches backward up the stack to see if the variable exists in any previous block in the current frame; if it does, it assigns to the slot found in that block, otherwise it creates a new variable slot. As a result, dynamic assignment is typically much slower than static assignment.

Methods

members   value   vid  

Public Class methods

Return an array of strings containing the names of the node class‘s members.

Public Instance methods

the value to assign to the local variable

the name of the local variable

[Validate]