flatbuffers/src
Michael Seifert a96f2bd6ca Python: Escape enum member names if they correspond to a Python keyword (#4772)
* Python: Generated enum member names are now escaped if they correspond to a Python keyword.

* Keyword list in Python generator is now a const char* instead of an std::string array.

* Moved static functions and keyword list of Python generator into the PythonGenerator class.

* Python generator escapes keyword identifiers in all definitions.
2018-06-08 10:55:19 -07:00
..
clang-format.sh Made all C++ files clang-formatted. 2017-12-21 11:45:02 -08:00
code_generators.cpp The asserts replaced by FLATBUFFERS_ASSERT. (#4701) 2018-04-16 08:57:59 -07:00
flatc.cpp Javascript: Add suppport for ES6 style exports (#4754) 2018-05-31 08:29:58 -07:00
flatc_main.cpp Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
flathash.cpp template specialized Hash functions for 16-bit hash types (#4631) 2018-02-23 10:29:37 -08:00
idl_gen_cpp.cpp Fix of namespace problem described in #4747 (#4752) 2018-05-18 12:21:08 -07:00
idl_gen_dart.cpp Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
idl_gen_fbs.cpp Protobufs: Added '--oneof-union' option. (#4647) 2018-03-05 08:45:25 -08:00
idl_gen_general.cpp Vector of unions support for java and c# (#4735) 2018-05-14 11:12:24 -07:00
idl_gen_go.cpp The asserts replaced by FLATBUFFERS_ASSERT. (#4701) 2018-04-16 08:57:59 -07:00
idl_gen_grpc.cpp Include services in reflection data (fixes #4639) (#4713) 2018-04-27 13:31:18 -07:00
idl_gen_js.cpp Javascript: Add suppport for ES6 style exports (#4754) 2018-05-31 08:29:58 -07:00
idl_gen_json_schema.cpp Made all C++ files clang-formatted. 2017-12-21 11:45:02 -08:00
idl_gen_php.cpp The asserts replaced by FLATBUFFERS_ASSERT. (#4701) 2018-04-16 08:57:59 -07:00
idl_gen_python.cpp Python: Escape enum member names if they correspond to a Python keyword (#4772) 2018-06-08 10:55:19 -07:00
idl_gen_text.cpp Output JSON strings as natural UTF-8 text without escapes (#4710) 2018-05-03 12:10:45 -07:00
idl_parser.cpp Fixed ASAN false positive. 2018-05-31 09:49:05 -07:00
reflection.cpp Output JSON strings as natural UTF-8 text without escapes (#4710) 2018-05-03 12:10:45 -07:00
util.cpp The asserts replaced by FLATBUFFERS_ASSERT. (#4701) 2018-04-16 08:57:59 -07:00