changing ast attribute from node to name

Signed-off-by: Moacir de Oliveira <moacirdeoliveira.eng@gmail.com>
fix bug in for

Signed-off-by: Moacir de Oliveira <moacirdeoliveira.eng@gmail.com>