// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html //--------------------------------------------------------------------------------- // // Generated Header File. Do not edit by hand. // This file contains the state table for the ICU Regular Expression Pattern Parser // It is generated by the Perl script "regexcst.pl" from // the rule parser state definitions file "regexcst.txt". // // Copyright (C) 2002-2016 International Business Machines Corporation // and others. All rights reserved. // //--------------------------------------------------------------------------------- #ifndef RBBIRPT_H #define RBBIRPT_H #include "unicode/utypes.h" U_NAMESPACE_BEGIN // // Character classes for regex pattern scanning. // static const uint8_t kRuleSet_digit_char = …; static const uint8_t kRuleSet_ascii_letter = …; static const uint8_t kRuleSet_rule_char = …; constexpr uint32_t kRuleSet_count = …; enum Regex_PatternParseAction { … }; //------------------------------------------------------------------------------- // // RegexTableEl represents the structure of a row in the transition table // for the pattern parser state machine. //------------------------------------------------------------------------------- struct RegexTableEl { … }; static const struct RegexTableEl gRuleParseStateTable[] = …; static const char * const RegexStateNames[] = …; U_NAMESPACE_END #endif