Alsing.Windows.Forms.SyntaxBox.EditViewControl.CharType C# (CSharp) 메소드

CharType() 개인적인 정적인 메소드

private static CharType ( string s ) : int
s string
리턴 int
        private static int CharType(string s)
        {
            const string g1 = " \t";
            const string g2 = ".,-+'?´=)(/&%¤#!\"\\<>[]$£@*:;{}";

            if (g1.IndexOf(s) >= 0)
                return 1;

            if (g2.IndexOf(s) >= 0)
                return 2;

            return 3;
        }