vendor/golang.org/x/text/unicode/norm/forminfo.go
changeset 265 05c40b36d3b2
parent 251 1c52a0eeb952
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
   108 	// TODO: loosen these conditions.
   108 	// TODO: loosen these conditions.
   109 	return p.isInert()
   109 	return p.isInert()
   110 }
   110 }
   111 
   111 
   112 // We pack quick check data in 4 bits:
   112 // We pack quick check data in 4 bits:
   113 //   5:    Combines forward  (0 == false, 1 == true)
   113 //
   114 //   4..3: NFC_QC Yes(00), No (10), or Maybe (11)
   114 //	5:    Combines forward  (0 == false, 1 == true)
   115 //   2:    NFD_QC Yes (0) or No (1). No also means there is a decomposition.
   115 //	4..3: NFC_QC Yes(00), No (10), or Maybe (11)
   116 //   1..0: Number of trailing non-starters.
   116 //	2:    NFD_QC Yes (0) or No (1). No also means there is a decomposition.
       
   117 //	1..0: Number of trailing non-starters.
   117 //
   118 //
   118 // When all 4 bits are zero, the character is inert, meaning it is never
   119 // When all 4 bits are zero, the character is inert, meaning it is never
   119 // influenced by normalization.
   120 // influenced by normalization.
   120 type qcInfo uint8
   121 type qcInfo uint8
   121 
   122