[Prev][Next][Index]

A question about SgStatement::expr()



Hi,

	I've been experimenting with SgStatement::expr() and it appears 
that it is always true that given,

	SgStatement	*st = .... ;

	Then, if the statement is executable, st->expr(i)->lhs() will
contain the executable expression and st->expr(i)->rhs() will be NULL. Is 
that true?

I tried it on several sources and it seems to be true, but I wanted to
confirm that. 

Thanks. Diego.

--
Diego A. Novillo                  | "We each pay a fabulous price for our
diego@cs.ualberta.ca              |  visions of paradise. But a spirit with
Computing Science - U of Alberta  |  a vision is a dream with a mission"
Edmonton, Alberta - Canada        |             Rush - Mission




Follow-Up(s):