How to delete a body?

In manual of box2d is written:

01 var node:b2Body = myWorld.GetBodyList();
02 while (node)
03
04 {
05 var b:b2Body = node;
06 node = node.GetNext();
07
08 var myActor:GameActor = b->GetUserData() as GameActor;
09 if (myActor.IsDead())
10
11 {
12 myWorld.DestroyBody(b);
13 }
14 }

but i can't understand lines 08 and 09. Please help me, what is means?
I have understood. Thanks.

Original thread: https://box2d.org/forum/viewtopic.php?t=7658