commit | 3e5b0c401c8d93182e9f0ce6f0de81f7574f5aca | [log] [tgz] |
---|---|---|
author | cushon <cushon@google.com> | Fri Oct 28 16:27:41 2016 -0700 |
committer | Liam Miller-Cushon <cushon@google.com> | Fri Oct 28 17:06:37 2016 -0700 |
tree | 166d0741c1cebf6929b1ea5b0fe23a388fed83dd | |
parent | 5460a3b06da4ef3978cac89dc6d45983c8c396ef [diff] |
Initial type annotation support Handle binding of type annotations, evaluation of type annotation arguments, and lowering to bytecode for all type annotations kinds that can appears in headers. Currently type annotations are identified syntactically, we need to read @Target to deal with ambiguous declarations on fields and method return types (e.g. `@A int x;` could be `TYPE_USE` or `FIELD` or both). MOE_MIGRATED_REVID=137566512