[Parser] Added depth to the nodes (down/up)