// Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/

#ifndef TAO_CPP_PEGTL_ANALYSIS_RULE_TYPE_HH
#define TAO_CPP_PEGTL_ANALYSIS_RULE_TYPE_HH

namespace tao_json_pegtl
{
   namespace analysis
   {
      enum class rule_type : char
      {
         ANY,  // Consumption-on-success is always true; assumes bounded repetition of conjunction of sub-rules.
         OPT,  // Consumption-on-success not necessarily true; assumes bounded repetition of conjunction of sub-rules.
         SEQ,  // Consumption-on-success depends on consumption of (non-zero bounded repetition of) conjunction of sub-rules.
         SOR   // Consumption-on-success depends on consumption of (non-zero bounded repetition of) disjunction of sub-rules.
      };

   } // namespace analysis

} // namespace tao_json_pegtl

#endif
