コード例 #1
0
        private Dictionary <string, string> method_0(string string_0)
        {
            string b      = GClass0.smethod_0("Yģ");
            string value  = GClass0.smethod_0(" Ŝ");
            string b2     = "#[";
            string b3     = GClass0.smethod_0("!ź");
            string b4     = GClass0.smethod_0("&ź");
            string value2 = GClass0.smethod_0("|");

            string[] array = new string[5]
            {
                GClass0.smethod_0("#ʼnɑ\u034cцՐة"),
                GClass0.smethod_0("!ŋɗ\u034aЩ"),
                GClass0.smethod_0(".Łɉ\u0351уՃ\u064dݏࡇऩ"),
                GClass0.smethod_0(",ʼnɉ\u0343эՏهܩ"),
                GClass0.smethod_0(",ʼnɉ\u0351іՆفܩ")
            };
            Dictionary <string, string> dictionary = new Dictionary <string, string>();
            LogicExplain logicExplain = new LogicExplain();
            int          num          = 0;
            int          num2         = 0;
            string       text         = "";
            string       text2        = "";

            do
            {
                text = logicExplain.MID(string_0, num, 2);
                if (!(text == b))
                {
                    if (text == b2)
                    {
                        num += 2;
                    }
                    else if (text == b3 || text == b4)
                    {
                        if (text2.Length > 0)
                        {
                            text2 = text2.Trim();
                            if (!dictionary.ContainsKey(text2))
                            {
                                dictionary.Add(text2, method_2(text2));
                            }
                        }
                        num2 = string_0.IndexOf(value2, num);
                        if (num2 < 0)
                        {
                            num2 = string_0.Length - 1;
                        }
                        text2 = string_0.Substring(num, num2 - num).Trim();
                        if (!dictionary.ContainsKey(text2))
                        {
                            dictionary.Add(text2, method_2(text2));
                        }
                        text2 = "";
                        num   = num2 + 1;
                    }
                    else
                    {
                        text = logicExplain.MID(string_0, num, 1);
                        if (text == GClass0.smethod_0("%"))
                        {
                            bool     flag   = false;
                            string[] array2 = array;
                            foreach (string text3 in array2)
                            {
                                string text4 = "";
                                if (string_0.Length - num > text3.Length)
                                {
                                    text4 = logicExplain.MID(string_0, num, text3.Length);
                                }
                                if (text3 == text4.ToUpper())
                                {
                                    flag  = true;
                                    num2  = logicExplain.RightBrackets(string_0, num, GClass0.smethod_0(")"), GClass0.smethod_0("("));
                                    num  += text3.Length;
                                    text2 = string_0.Substring(num, num2 - num).Replace(GClass0.smethod_0("!"), "").Trim();
                                    if (!dictionary.ContainsKey(text3 + text2 + GClass0.smethod_0("(")))
                                    {
                                        dictionary.Add(text3 + text2 + GClass0.smethod_0("("), method_1(text3, text2));
                                    }
                                    text2 = "";
                                    num   = num2 + 2;
                                    break;
                                }
                            }
                            if (flag)
                            {
                                continue;
                            }
                            num2 = 0;
                            if (logicExplain.isLetter(logicExplain.MID(string_0, num + 1, 1)))
                            {
                                num2 = string_0.IndexOf(GClass0.smethod_0(")"), num + 1);
                            }
                            if (num2 > 0)
                            {
                                num = num2;
                            }
                        }
                        else
                        {
                            text = logicExplain.JoinQnName(text, text2);
                            if (text == "")
                            {
                                if (text2.Length > 0)
                                {
                                    text2 = text2.Trim();
                                    if (!dictionary.ContainsKey(text2))
                                    {
                                        dictionary.Add(text2, method_2(text2));
                                    }
                                    text2 = "";
                                }
                            }
                            else
                            {
                                text2 = text;
                            }
                        }
                        num++;
                    }
                }
                else
                {
                    num = string_0.IndexOf(value, num + 1);
                    if (num < 0)
                    {
                        num = string_0.Length;
                    }
                    num += 2;
                }
            }while (num < string_0.Length);
            if (text2.Length > 0)
            {
                text2 = text2.Trim();
                if (!dictionary.ContainsKey(text2))
                {
                    dictionary.Add(text2, method_2(text2));
                }
            }
            return(dictionary);
        }