[cfe-dev] clang::Stmt, what's a child?

Eric Niebler eric at boostpro.com
Wed Feb 23 21:46:06 PST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, this seems like a stupid question, and maybe it is. What should be
considered a "child" of an expression in the AST? Imagine a node that
holds both a rewritten tree (that will be used for code-gen purposes) as
well as the original AST as the user wrote it. (This is the
PropertyAccessOperator node as suggested by John McCall.) Clearly, the
rewritten node is a child. But is the original expression? What does is
really mean to be a child?

TIA,

- -- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNZfCeAAoJEAeJsEDfjLbXtS8H/1x8aQH6o5j0f1+yKrXgIOSl
bNW3eEJ7oPXjUS3b4kEQPfj+/dRXj2IA2Tq+Pt3AIxBuEBCOGmCS8PyInVOSjGKR
6zQsOU7mgaeA93VqFjL7J4tcQ2dMQ/8WydPZ+oGyUK4qxHowjQ5yKk51Ip8VJA+U
1L0hLP+vUzEkahj5xsGRunZqPEd5TWCcaNXeaI8slrsOZBozepu6FEEMEz+QiiA1
ZvHg1/D0Y/nelBkbDmnGSNYejVf04cbH7oYBtFifQWVVki69NNHOs2m3J4D6wUZd
MpCjEY4GLeWlzhrSNwRImb7CLrl9ZlV7mRJC4k1wR3oVz5pL0lRkXKGtyj8tNFo=
=jIC4
-----END PGP SIGNATURE-----



More information about the cfe-dev mailing list