Factor out the syntactic function scope tracking into the transformer. Choosing not...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 11 Apr 2018 20:47:46 +0000 (13:47 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 11 Apr 2018 20:51:04 +0000 (13:51 -0700)
commit3fa224a453bb9d7f7f8340231adb53ba74b79b42
tree2126a77865cbb9e12f2e3b707cecabfd15ad6646
parent744a5cc092401f3725f06498058e6ba262fd697d
Factor out the syntactic function scope tracking into the transformer. Choosing not to do this at static analysis because it exposes the scope to any node, making it easier to use by any specialization of a transformer.

PiperOrigin-RevId: 192502309
tensorflow/contrib/autograph/pyct/BUILD
tensorflow/contrib/autograph/pyct/transformer.py
tensorflow/contrib/autograph/pyct/transformer_test.py [new file with mode: 0644]