ubidi

package
v0.18.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPropertyStarts

func AddPropertyStarts(sa propertySet)

func HasFlag

func HasFlag(props uint16, shift int) bool

func IsBidiControl

func IsBidiControl(c rune) bool

func IsJoinControl

func IsJoinControl(c rune) bool

func IsMirrored

func IsMirrored(c rune) bool

Types

type CharDirection

type CharDirection int32

*

  • This specifies the language directional property of a character set.
  • @stable ICU 2.0
const (
	/** L @stable ICU 2.0 */
	LeftToRight CharDirection = 0
	/** R @stable ICU 2.0 */
	RightToLeft CharDirection = 1
	/** EN @stable ICU 2.0 */
	EuropeanNumber CharDirection = 2
	/** ES @stable ICU 2.0 */
	EuropeanNumberSeparator CharDirection = 3
	/** ET @stable ICU 2.0 */
	EuropeanNumberTerminator CharDirection = 4
	/** AN @stable ICU 2.0 */
	ArabicNumber CharDirection = 5
	/** CS @stable ICU 2.0 */
	CommonNumberSeparator CharDirection = 6
	/** B @stable ICU 2.0 */
	BlockSeparator CharDirection = 7
	/** S @stable ICU 2.0 */
	SegmentSeparator CharDirection = 8
	/** WS @stable ICU 2.0 */
	WhiteSpaceNeutral CharDirection = 9
	/** ON @stable ICU 2.0 */
	OtherNeutral CharDirection = 10
	/** LRE @stable ICU 2.0 */
	LeftToRightEmbedding CharDirection = 11
	/** LRO @stable ICU 2.0 */
	LeftToRightOverride CharDirection = 12
	/** AL @stable ICU 2.0 */
	RightToLeftArabic CharDirection = 13
	/** RLE @stable ICU 2.0 */
	RightToLeftEmbedding CharDirection = 14
	/** RLO @stable ICU 2.0 */
	RightToLeftOverride CharDirection = 15
	/** PDF @stable ICU 2.0 */
	PopDirectionalFormat CharDirection = 16
	/** NSM @stable ICU 2.0 */
	DirNonSpacingMark CharDirection = 17
	/** BN @stable ICU 2.0 */
	BoundaryNeutral CharDirection = 18
	/** FSI @stable ICU 52 */
	StrongIsolate CharDirection = 19
	/** LRI @stable ICU 52 */
	LeftToRightIsolate CharDirection = 20
	/** RLI @stable ICU 52 */
	RightToLeftIsolate CharDirection = 21
	/** PDI @stable ICU 52 */
	PopDirectionalIsolate CharDirection = 22
)

func Class

func Class(c rune) CharDirection

type JoiningGroup

type JoiningGroup int32

*

  • Joining Group constants. *
  • @see UCHAR_JOINING_GROUP
  • @stable ICU 2.2
const (
	JgNoJoiningGroup JoiningGroup = iota
	JgAin
	JgAlaph
	JgAlef
	JgBeh
	JgBeth
	JgDal
	JgDalathRish
	JgE
	JgFeh
	JgFinalSemkath
	JgGaf
	JgGamal
	JgHah
	JgTehMarbutaGoal /**< @stable ICU 4.6 */
	JgHe
	JgHeh
	JgHehGoal
	JgHeth
	JgKaf
	JgKaph
	JgKnottedHeh
	JgLam
	JgLamadh
	JgMeem
	JgMim
	JgNoon
	JgNun
	JgPe
	JgQaf
	JgQaph
	JgReh
	JgReversedPe
	JgSad
	JgSadhe
	JgSeen
	JgSemkath
	JgShin
	JgSwashKaf
	JgSyriacWaw
	JgTah
	JgTaw
	JgTehMarbuta
	JgTeth
	JgWaw
	JgYeh
	JgYehBarree
	JgYehWithTail
	JgYudh
	JgYudhHe
	JgZain
	JgFe                   /**< @stable ICU 2.6 */
	JgKhaph                /**< @stable ICU 2.6 */
	JgZhain                /**< @stable ICU 2.6 */
	JgBurushashkiYehBarree /**< @stable ICU 4.0 */
	JgFarsiYeh             /**< @stable ICU 4.4 */
	JgNya                  /**< @stable ICU 4.4 */
	JgRohingyaYeh          /**< @stable ICU 49 */
	JgManichaeanAleph      /**< @stable ICU 54 */
	JgManichaeanAyin       /**< @stable ICU 54 */
	JgManichaeanBeth       /**< @stable ICU 54 */
	JgManichaeanDaleth     /**< @stable ICU 54 */
	JgManichaeanDhamedh    /**< @stable ICU 54 */
	JgManichaeanFive       /**< @stable ICU 54 */
	JgManichaeanGimel      /**< @stable ICU 54 */
	JgManichaeanHeth       /**< @stable ICU 54 */
	JgManichaeanHundred    /**< @stable ICU 54 */
	JgManichaeanKaph       /**< @stable ICU 54 */
	JgManichaeanLamedh     /**< @stable ICU 54 */
	JgManichaeanMem        /**< @stable ICU 54 */
	JgManichaeanNun        /**< @stable ICU 54 */
	JgManichaeanOne        /**< @stable ICU 54 */
	JgManichaeanPe         /**< @stable ICU 54 */
	JgManichaeanQoph       /**< @stable ICU 54 */
	JgManichaeanResh       /**< @stable ICU 54 */
	JgManichaeanSadhe      /**< @stable ICU 54 */
	JgManichaeanSamekh     /**< @stable ICU 54 */
	JgManichaeanTaw        /**< @stable ICU 54 */
	JgManichaeanTen        /**< @stable ICU 54 */
	JgManichaeanTeth       /**< @stable ICU 54 */
	JgManichaeanThamedh    /**< @stable ICU 54 */
	JgManichaeanTwenty     /**< @stable ICU 54 */
	JgManichaeanWaw        /**< @stable ICU 54 */
	JgManichaeanYodh       /**< @stable ICU 54 */
	JgManichaeanZayin      /**< @stable ICU 54 */
	JgStraightWaw          /**< @stable ICU 54 */
	JgAfricanFeh           /**< @stable ICU 58 */
	JgAfricanNoon          /**< @stable ICU 58 */
	JgAfricanQaf           /**< @stable ICU 58 */

	JgMalayalamBha  /**< @stable ICU 60 */
	JgMalayalamJa   /**< @stable ICU 60 */
	JgMalayalamLla  /**< @stable ICU 60 */
	JgMalayalamLlla /**< @stable ICU 60 */
	JgMalayalamNga  /**< @stable ICU 60 */
	JgMalayalamNna  /**< @stable ICU 60 */
	JgMalayalamNnna /**< @stable ICU 60 */
	JgMalayalamNya  /**< @stable ICU 60 */
	JgMalayalamRa   /**< @stable ICU 60 */
	JgMalayalamSsa  /**< @stable ICU 60 */
	JgMalayalamTta  /**< @stable ICU 60 */

	JgHanafiRohingyaKinnaYa /**< @stable ICU 62 */
	JgHanafiRohingyaPa      /**< @stable ICU 62 */

	JgThinYeh      /**< @stable ICU 70 */
	JgVerticalTail /**< @stable ICU 70 */
)

* Note: UJoiningGroup constants are parsed by preparseucd.py. * It matches lines like * U_JG_<Unicode Joining_Group value name>

func JoinGroup

func JoinGroup(c rune) JoiningGroup

type JoiningType

type JoiningType int32

*

  • Joining Type constants. *
  • @see UCHAR_JOINING_TYPE
  • @stable ICU 2.2
const (
	JtNonJoining   JoiningType = iota /*[U]*/
	JtJoinCausing                     /*[C]*/
	JtDualJoining                     /*[D]*/
	JtLeftJoining                     /*[L]*/
	JtRightJoining                    /*[R]*/
	JtTransparent                     /*[T]*/
)

* Note: UJoiningType constants are parsed by preparseucd.py. * It matches lines like * U_JT_<Unicode Joining_Type value name>

func JoinType

func JoinType(c rune) JoiningType

type UPairedBracketType

type UPairedBracketType int32

*

  • Bidi Paired Bracket Type constants. *
  • @see UCHAR_BIDI_PAIRED_BRACKET_TYPE
  • @stable ICU 52
const (
	/** Not a paired bracket. @stable ICU 52 */
	BptNone UPairedBracketType = iota
	/** Open paired bracket. @stable ICU 52 */
	BptOpen
	/** Close paired bracket. @stable ICU 52 */
	BptClose
)

* Note: UBidiPairedBracketType constants are parsed by preparseucd.py. * It matches lines like * U_BPT_<Unicode Bidi_Paired_Bracket_Type value name>

func PairedBracketType

func PairedBracketType(c rune) UPairedBracketType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL