github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/stdlibs/unicode/casetables.gno (about) 1 // Copyright 2009 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // TODO: This file contains the special casing rules for Turkish and Azeri only. 6 // It should encompass all the languages with special casing rules 7 // and be generated automatically, but that requires some API 8 // development first. 9 10 package unicode 11 12 var TurkishCase SpecialCase = _TurkishCase 13 14 var _TurkishCase = SpecialCase{ 15 CaseRange{0x0049, 0x0049, d{0, 0x131 - 0x49, 0}}, 16 CaseRange{0x0069, 0x0069, d{0x130 - 0x69, 0, 0x130 - 0x69}}, 17 CaseRange{0x0130, 0x0130, d{0, 0x69 - 0x130, 0}}, 18 CaseRange{0x0131, 0x0131, d{0x49 - 0x131, 0, 0x49 - 0x131}}, 19 } 20 21 var AzeriCase SpecialCase = _TurkishCase