Sha256: 7363a9b4e3461bf15b52fb7c4fd57f4aa796319bd51d45da989c9aa26653a2d6
Contents?: true
Size: 900 Bytes
Versions: 34
Compression:
Stored size: 900 Bytes
Contents
// Copyright (c) 2015-2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_INTERNAL_UNESCAPE_ACTION_HPP #define TAO_JSON_INTERNAL_UNESCAPE_ACTION_HPP #include "../external/pegtl/contrib/unescape.hpp" #include "../external/pegtl/nothing.hpp" #include "grammar.hpp" namespace tao::json::internal { // clang-format off template< typename Rule > struct unescape_action : pegtl::nothing< Rule > {}; template<> struct unescape_action< rules::escaped_unicode > : pegtl::unescape::unescape_j {}; template<> struct unescape_action< rules::escaped_char > : pegtl::unescape::unescape_c< rules::escaped_char, '"', '\\', '/', '\b', '\f', '\n', '\r', '\t' > {}; template<> struct unescape_action< rules::unescaped > : pegtl::unescape::append_all {}; // clang-format on } // namespace tao::json::internal #endif
Version data entries
34 entries across 34 versions & 1 rubygems