[Prev][Next][Index]
A question about SgStatement::expr()
- Date: Thu, 28 Jul 1994 15:12:52 -0600
- From: Diego Novillo <diego@cs.ualberta.ca>
- Subject: A question about SgStatement::expr()
- To: Sage bug reports <sage-bugs@cica.indiana.edu>
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):