예제 #1
0
 public ALittleScriptNamespaceDecElement GetNamespaceDec()
 {
     if (m_flag_NamespaceDec)
     {
         return(m_cache_NamespaceDec);
     }
     m_flag_NamespaceDec = true;
     foreach (var child in m_childs)
     {
         if (child is ALittleScriptNamespaceDecElement)
         {
             m_cache_NamespaceDec = child as ALittleScriptNamespaceDecElement;
             break;
         }
     }
     return(m_cache_NamespaceDec);
 }
 public ALittleScriptGuessNamespace(string p_namespace_name, ALittleScriptNamespaceDecElement p_namespace_dec)
 {
     is_register    = ALittleScriptUtility.IsRegister(p_namespace_dec);
     namespace_name = p_namespace_name;
     namespace_dec  = p_namespace_dec;
 }