private static bool IsLiteralPosition(CharDescriptor charDescriptor) { return (charDescriptor.CharType == CharType.Literal) || (charDescriptor.CharType == CharType.Separator); }