THRIFT-121. Support arbitrary type annotations
authorDavid Reiss <dreiss@apache.org>
Wed, 10 Dec 2008 01:52:48 +0000 (01:52 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 10 Dec 2008 01:52:48 +0000 (01:52 +0000)
commita2309996679350a249beeac34efd65ff703f5b23
tree907fff4f8a067c923c864f978b7452d3ec2b9b4e
parent322e595c2ac8a7ff4ef53cc472882d85e36000a0
THRIFT-121. Support arbitrary type annotations

Adds syntax for attaching arbitrary key/value pairs to types.
These annotations can be accessed by individual generators to alter
the code they produce.

This version supports annotations on container types and structures.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@724954 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/parse/t_type.h
compiler/cpp/src/thrifty.yy
test/AnnotationTest.thrift [new file with mode: 0644]