[Prev][Next][Index]

SgIfStmt




Hello,

I'm having difficulty performing and hierarchical traversiong of 
a parsed program. For instance when I get an If stmt in C I'd
like to identifier the false and the true bodies, The functions
trueBody(int i) run throught all the statment in the remaining of the
top if stmt. On the other hand going through the childrenList1 
and childrenList2 of the statement class does help either.

I've searched throught the demos and found no good example.

Thanks for any help.

Pedro