/src/Fast-DDS/thirdparty/taocpp-pegtl/pegtl/analyze.hpp
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey |
2 | | // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ |
3 | | |
4 | | #ifndef TAO_PEGTL_ANALYZE_HPP |
5 | | #define TAO_PEGTL_ANALYZE_HPP |
6 | | |
7 | | #include "config.hpp" |
8 | | |
9 | | #include "analysis/analyze_cycles.hpp" |
10 | | |
11 | | namespace tao |
12 | | { |
13 | | namespace TAO_PEGTL_NAMESPACE |
14 | | { |
15 | | template< typename Rule > |
16 | | std::size_t analyze( const bool verbose = true ) |
17 | 0 | { |
18 | 0 | return analysis::analyze_cycles< Rule >( verbose ).problems(); |
19 | 0 | } |
20 | | |
21 | | } // namespace TAO_PEGTL_NAMESPACE |
22 | | |
23 | | } // namespace tao |
24 | | |
25 | | #endif |