Пример #1
0
        public static bool MustEscapeChar(char ch)
        {
            var item = DefaultReadtable.GetEntry(ch);

            return(item.Type != CharacterType.Constituent && item.Type != CharacterType.NonTerminatingMacro);
        }
Пример #2
0
        public static bool IsWordChar(char ch)
        {
            var item = DefaultReadtable.GetEntry(ch);

            return(item.Type == CharacterType.Constituent);
        }