1 // Copyright (c) 2014-2018 Dr. Colin Hirsch and Daniel Frey 2 // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ 3 4 #ifndef TAO_PEGTL_INTERNAL_PAD_OPT_HPP 5 #define TAO_PEGTL_INTERNAL_PAD_OPT_HPP 6 7 #include "../config.hpp" 8 9 #include "opt.hpp" 10 #include "seq.hpp" 11 #include "star.hpp" 12 13 namespace tao 14 { 15 namespace TAO_PEGTL_NAMESPACE 16 { 17 namespace internal 18 { 19 template< typename Rule, typename Pad > 20 using pad_opt = seq< star< Pad >, opt< Rule, star< Pad > > >; 21 22 } // namespace internal 23 24 } // namespace TAO_PEGTL_NAMESPACE 25 26 } // namespace tao 27 28 #endif 29