<commit_before>#include "mem/st/SymbolTable.hpp"


namespace mem { namespace st {


SymbolTable::SymbolTable ()
{
   _home = new Namespace();
   _home->setName("#home");

   _system = new Namespace();
   _system->setName("#system");

   _root = new Namespace();
   _root->addChild(_home);
   _root->addChild(_system);
   _func_ll_head = NULL;
}

SymbolTable::~SymbolTable ()
{
   delete _root;
}

#if 0
Class*
SymbolTable::create_class (std::string full_class_name)
{
   Class* klass = new Class();
   if (this->create_type (klass, full_class_name))
   {
      return klass;
   }
   else<commit_msg>When not in debug, don't give names to namespaces `System' and `Home'<commit_after>#include "mem/st/SymbolTable.hpp"


namespace mem { namespace st {


SymbolTable::SymbolTable ()
{
   _home = new Namespace();
#ifndef NDEBUG
   _home->setName("#home");
#endif

   _system = new Namespace();
#ifndef NDEBUG
   _system->setName("#system");
#endif

   _root = new Namespace();
   _root->addChild(_home);
   _root->addChild(_system);
   _func_ll_head = NULL;
}

SymbolTable::~SymbolTable ()
{
   delete _root;
}

#if 0
Class*
SymbolTable::create_class (std::string full_class_name)
{
   Class* klass = new Class();
   if (this->create_type (klass, full_class_name))
   {
      return klass;
   }
   else
{'fraction_non_alphanumeric': 0.1448382126348228, 'fraction_numerical': 0.0015408320493066256, 'mean_word_length': 3.996153846153846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '4595763', 'n_tokens_mistral': 454, 'n_tokens_neox': 450, 'n_words': 100}