summaryrefslogtreecommitdiff
path: root/test/Recursive.thrift
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-2/+2
| | | | | | | Client: General (Makefile.am, *.thrift) Patch: Jens Geyer DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
* THRIFT-2471 Make cpp.ref annotation language agnosticJens Geyer2014-05-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Client: compiler general Patch: Dave Watson This closes #113 commit 52b99af4ee1574253dcb77933d76a7ebb2d830df Author: Dave Watson <davejwatson@fb.com> Date: 2014-04-23T20:05:56Z change cpp.ref to & commit 3f9d31cc6140367529fd8f7b1b67056ec321786f Author: Dave Watson <davejwatson@fb.com> Date: 2014-04-23T21:50:29Z Recursion depth limit commit 61468e4534ce9e6a4f4f643bfd00542d13600d83 Author: Dave Watson <davejwatson@fb.com> Date: 2014-04-25T19:59:18Z shared_ptr for reference type
* THRIFT-2421: Tree/Recursive struct support in thriftjfarrell2014-04-081-0/+47
Client: cpp Patch: Dave Watson Github Pull Request: This closes #84 ---- commit b6134cedf292845e5ed01052919894df6b561bf2 Date: 2014-03-20T18:12:04Z Recursive structs support in parser A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration). This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!) Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)