<commit_before>#pragma once

namespace cle
{
namespace fsm
{


#define STATE(ClassName, StateName) \
    friend class St_##StateName; \
    State& StateName(); \
    class St_##StateName : public State \
    { \
        public: \
        virtual State* RunState(AStateMachine *pStateMachine){return &(static_cast<ClassName *>(pStateMachine))->StateName();}; \
    } state_##StateName

#define STATE_BODY(ClassName, StateName) State& ClassName::StateName()


#define IF_GROUP(Type, Var) \
    if(Type *Var = MatchGroup<Type>(getValue().get())) 

#define ELIF_GROUP(Type, Var) \
    else if(Type *Var = MatchGroup<Type>(getValue().get())) 

#define IF_SIGNAL(Type, Var) \
    if(Type *Var = MatchSignal<Type>(getValue().get())) 

#define ELIF_SIGNAL(Type, Var) \
    else if(Type *Var = MatchSignal<Type>(getValue().get())) 

#define ELSE else


} // namespace fsm
} // namespace cle<commit_msg>fix namespaces in macros<commit_after>#pragma once


#define STATE(ClassName, StateName) \
    friend class St_##StateName; \
    cle::fsm::State& StateName(); \
    class St_##StateName : public cle::fsm::State \
    { \
        public: \
        virtual cle::fsm::State* RunState(AStateMachine *pStateMachine){return &(static_cast<ClassName *>(pStateMachine))->StateName();}; \
    } state_##StateName

#define STATE_BODY(ClassName, StateName) cle::fsm::State& ClassName::StateName()


#define IF_GROUP(Type, Var) \
    if(Type *Var = MatchGroup<Type>(getValue().get())) 

#define ELIF_GROUP(Type, Var) \
    else if(Type *Var = MatchGroup<Type>(getValue().get())) 

#define IF_SIGNAL(Type, Var) \
    if(Type *Var = MatchSignal<Type>(getValue().get())) 

#define ELIF_SIGNAL(Type, Var) \
    else if(Type *Var = MatchSignal<Type>(getValue().get())) 

#define ELSE else
{'fraction_non_alphanumeric': 0.16326530612244897, 'fraction_numerical': 0.0, 'mean_word_length': 4.3003003003003, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6494537', 'n_tokens_mistral': 591, 'n_tokens_neox': 570, 'n_words': 122}