├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── TODO.md ├── cmake ├── FindLibClang.cmake └── runtest.cmake ├── gen ├── cmdargs.cpp ├── cmdargs.hpp ├── main.cpp ├── parser.class.cpp ├── parser.class.hpp ├── parser.cpp ├── parser.enum.cpp ├── parser.enum.hpp ├── parser.function.cpp ├── parser.function.hpp ├── parser.hpp ├── parser.util.cpp ├── parser.util.hpp ├── serializer.class.cpp ├── serializer.class.hpp ├── serializer.cpp ├── serializer.enum.cpp ├── serializer.enum.hpp ├── serializer.function.cpp ├── serializer.function.hpp ├── serializer.hpp ├── serializer.util.cpp ├── serializer.util.hpp ├── types.cpp └── types.hpp ├── lib ├── README.md ├── reflang.cpp └── reflang.hpp └── tests ├── CMakeLists.txt ├── catch.hpp ├── class ├── CMakeLists.txt ├── fields.gen.cpp ├── fields.gen.hpp ├── fields.src.hpp ├── fields.test.cpp ├── methods.gen.cpp ├── methods.gen.hpp ├── methods.src.hpp ├── methods.test.cpp ├── static-fields.gen.cpp ├── static-fields.gen.hpp ├── static-fields.src.hpp ├── static-fields.test.cpp ├── static-methods.gen.cpp ├── static-methods.gen.hpp ├── static-methods.src.hpp ├── static-methods.test.cpp ├── subclass.gen.cpp ├── subclass.gen.hpp ├── subclass.src.hpp └── subclass.test.cpp ├── enum ├── CMakeLists.txt ├── c-enum.gen.cpp ├── c-enum.gen.hpp ├── c-enum.src.hpp ├── c-enum.test.cpp ├── cpp11-enum.gen.cpp ├── cpp11-enum.gen.hpp ├── cpp11-enum.src.hpp ├── cpp11-enum.test.cpp ├── empty-enum.gen.cpp ├── empty-enum.gen.hpp ├── empty-enum.src.hpp └── empty-enum.test.cpp ├── function ├── CMakeLists.txt ├── args.gen.cpp ├── args.gen.hpp ├── args.src.hpp ├── args.test.cpp ├── overload.gen.cpp ├── overload.gen.hpp ├── overload.src.hpp ├── overload.test.cpp ├── return-noargs.gen.cpp ├── return-noargs.gen.hpp ├── return-noargs.src.hpp ├── return-noargs.test.cpp ├── void-noargs.gen.cpp ├── void-noargs.gen.hpp ├── void-noargs.src.hpp └── void-noargs.test.cpp └── lib ├── CMakeLists.txt ├── object.test.cpp └── reference.test.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | .*swp 2 | .*swo 3 | .ycm_extra_conf.py 4 | build 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/TODO.md -------------------------------------------------------------------------------- /cmake/FindLibClang.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/cmake/FindLibClang.cmake -------------------------------------------------------------------------------- /cmake/runtest.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/cmake/runtest.cmake -------------------------------------------------------------------------------- /gen/cmdargs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/cmdargs.cpp -------------------------------------------------------------------------------- /gen/cmdargs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/cmdargs.hpp -------------------------------------------------------------------------------- /gen/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/main.cpp -------------------------------------------------------------------------------- /gen/parser.class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.class.cpp -------------------------------------------------------------------------------- /gen/parser.class.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.class.hpp -------------------------------------------------------------------------------- /gen/parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.cpp -------------------------------------------------------------------------------- /gen/parser.enum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.enum.cpp -------------------------------------------------------------------------------- /gen/parser.enum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.enum.hpp -------------------------------------------------------------------------------- /gen/parser.function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.function.cpp -------------------------------------------------------------------------------- /gen/parser.function.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.function.hpp -------------------------------------------------------------------------------- /gen/parser.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.hpp -------------------------------------------------------------------------------- /gen/parser.util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.util.cpp -------------------------------------------------------------------------------- /gen/parser.util.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/parser.util.hpp -------------------------------------------------------------------------------- /gen/serializer.class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.class.cpp -------------------------------------------------------------------------------- /gen/serializer.class.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.class.hpp -------------------------------------------------------------------------------- /gen/serializer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.cpp -------------------------------------------------------------------------------- /gen/serializer.enum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.enum.cpp -------------------------------------------------------------------------------- /gen/serializer.enum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.enum.hpp -------------------------------------------------------------------------------- /gen/serializer.function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.function.cpp -------------------------------------------------------------------------------- /gen/serializer.function.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.function.hpp -------------------------------------------------------------------------------- /gen/serializer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.hpp -------------------------------------------------------------------------------- /gen/serializer.util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.util.cpp -------------------------------------------------------------------------------- /gen/serializer.util.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/serializer.util.hpp -------------------------------------------------------------------------------- /gen/types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/types.cpp -------------------------------------------------------------------------------- /gen/types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/gen/types.hpp -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/lib/README.md -------------------------------------------------------------------------------- /lib/reflang.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/lib/reflang.cpp -------------------------------------------------------------------------------- /lib/reflang.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/lib/reflang.hpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/catch.hpp -------------------------------------------------------------------------------- /tests/class/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/CMakeLists.txt -------------------------------------------------------------------------------- /tests/class/fields.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/fields.gen.cpp -------------------------------------------------------------------------------- /tests/class/fields.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/fields.gen.hpp -------------------------------------------------------------------------------- /tests/class/fields.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/fields.src.hpp -------------------------------------------------------------------------------- /tests/class/fields.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/fields.test.cpp -------------------------------------------------------------------------------- /tests/class/methods.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/methods.gen.cpp -------------------------------------------------------------------------------- /tests/class/methods.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/methods.gen.hpp -------------------------------------------------------------------------------- /tests/class/methods.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/methods.src.hpp -------------------------------------------------------------------------------- /tests/class/methods.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/methods.test.cpp -------------------------------------------------------------------------------- /tests/class/static-fields.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-fields.gen.cpp -------------------------------------------------------------------------------- /tests/class/static-fields.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-fields.gen.hpp -------------------------------------------------------------------------------- /tests/class/static-fields.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-fields.src.hpp -------------------------------------------------------------------------------- /tests/class/static-fields.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-fields.test.cpp -------------------------------------------------------------------------------- /tests/class/static-methods.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-methods.gen.cpp -------------------------------------------------------------------------------- /tests/class/static-methods.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-methods.gen.hpp -------------------------------------------------------------------------------- /tests/class/static-methods.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-methods.src.hpp -------------------------------------------------------------------------------- /tests/class/static-methods.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/static-methods.test.cpp -------------------------------------------------------------------------------- /tests/class/subclass.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/subclass.gen.cpp -------------------------------------------------------------------------------- /tests/class/subclass.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/subclass.gen.hpp -------------------------------------------------------------------------------- /tests/class/subclass.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/subclass.src.hpp -------------------------------------------------------------------------------- /tests/class/subclass.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/class/subclass.test.cpp -------------------------------------------------------------------------------- /tests/enum/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/CMakeLists.txt -------------------------------------------------------------------------------- /tests/enum/c-enum.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/c-enum.gen.cpp -------------------------------------------------------------------------------- /tests/enum/c-enum.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/c-enum.gen.hpp -------------------------------------------------------------------------------- /tests/enum/c-enum.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/c-enum.src.hpp -------------------------------------------------------------------------------- /tests/enum/c-enum.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/c-enum.test.cpp -------------------------------------------------------------------------------- /tests/enum/cpp11-enum.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/cpp11-enum.gen.cpp -------------------------------------------------------------------------------- /tests/enum/cpp11-enum.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/cpp11-enum.gen.hpp -------------------------------------------------------------------------------- /tests/enum/cpp11-enum.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/cpp11-enum.src.hpp -------------------------------------------------------------------------------- /tests/enum/cpp11-enum.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/cpp11-enum.test.cpp -------------------------------------------------------------------------------- /tests/enum/empty-enum.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/empty-enum.gen.cpp -------------------------------------------------------------------------------- /tests/enum/empty-enum.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/empty-enum.gen.hpp -------------------------------------------------------------------------------- /tests/enum/empty-enum.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/empty-enum.src.hpp -------------------------------------------------------------------------------- /tests/enum/empty-enum.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/enum/empty-enum.test.cpp -------------------------------------------------------------------------------- /tests/function/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/CMakeLists.txt -------------------------------------------------------------------------------- /tests/function/args.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/args.gen.cpp -------------------------------------------------------------------------------- /tests/function/args.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/args.gen.hpp -------------------------------------------------------------------------------- /tests/function/args.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/args.src.hpp -------------------------------------------------------------------------------- /tests/function/args.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/args.test.cpp -------------------------------------------------------------------------------- /tests/function/overload.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/overload.gen.cpp -------------------------------------------------------------------------------- /tests/function/overload.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/overload.gen.hpp -------------------------------------------------------------------------------- /tests/function/overload.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/overload.src.hpp -------------------------------------------------------------------------------- /tests/function/overload.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/overload.test.cpp -------------------------------------------------------------------------------- /tests/function/return-noargs.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/return-noargs.gen.cpp -------------------------------------------------------------------------------- /tests/function/return-noargs.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/return-noargs.gen.hpp -------------------------------------------------------------------------------- /tests/function/return-noargs.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/return-noargs.src.hpp -------------------------------------------------------------------------------- /tests/function/return-noargs.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/return-noargs.test.cpp -------------------------------------------------------------------------------- /tests/function/void-noargs.gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/void-noargs.gen.cpp -------------------------------------------------------------------------------- /tests/function/void-noargs.gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/void-noargs.gen.hpp -------------------------------------------------------------------------------- /tests/function/void-noargs.src.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/void-noargs.src.hpp -------------------------------------------------------------------------------- /tests/function/void-noargs.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/function/void-noargs.test.cpp -------------------------------------------------------------------------------- /tests/lib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/lib/CMakeLists.txt -------------------------------------------------------------------------------- /tests/lib/object.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/lib/object.test.cpp -------------------------------------------------------------------------------- /tests/lib/reference.test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakaz/reflang/HEAD/tests/lib/reference.test.cpp --------------------------------------------------------------------------------