/src/Fast-DDS/thirdparty/taocpp-pegtl/pegtl/analysis/rule_info.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_ANALYSIS_RULE_INFO_HPP |
5 | | #define TAO_PEGTL_ANALYSIS_RULE_INFO_HPP |
6 | | |
7 | | #include <string> |
8 | | #include <vector> |
9 | | |
10 | | #include "../config.hpp" |
11 | | |
12 | | #include "rule_type.hpp" |
13 | | |
14 | | namespace tao |
15 | | { |
16 | | namespace TAO_PEGTL_NAMESPACE |
17 | | { |
18 | | namespace analysis |
19 | | { |
20 | | struct rule_info |
21 | | { |
22 | | explicit rule_info( const rule_type in_type ) noexcept |
23 | 0 | : type( in_type ) |
24 | 0 | { |
25 | 0 | } |
26 | | |
27 | | rule_type type; |
28 | | std::vector< std::string > rules; |
29 | | }; |
30 | | |
31 | | } // namespace analysis |
32 | | |
33 | | } // namespace TAO_PEGTL_NAMESPACE |
34 | | |
35 | | } // namespace tao |
36 | | |
37 | | #endif |