package bidirule

Import Path
	vendor/golang.org/x/text/secure/bidirule (on go.dev)

Dependency Relation
	imports 4 packages, and imported by one package

Involved Source Files Package bidirule implements the Bidi Rule defined by RFC 5893. This package is under development. The API may change without notice and without preserving backward compatibility. bidirule10.0.0.go
Package-Level Type Names (only one)
/* sort by: | */
Transformer implements transform.Transform. Reset implements transform.Transformer. Span returns the first n bytes of src that conform to the Bidi rule. Transform implements transform.Transformer. This Transformer has state and needs to be reset between uses. *Transformer : vendor/golang.org/x/text/transform.SpanningTransformer *Transformer : vendor/golang.org/x/text/transform.Transformer func New() *Transformer
Package-Level Functions (total 5)
Direction reports the direction of the given label as defined by RFC 5893. The Bidi Rule does not have to be applied to labels of the category LeftToRight.
DirectionString reports the direction of the given label as defined by RFC 5893. The Bidi Rule does not have to be applied to labels of the category LeftToRight.
New returns a Transformer that verifies that input adheres to the Bidi Rule.
Valid reports whether b conforms to the BiDi rule.
ValidString reports whether s conforms to the BiDi rule.
Package-Level Variables (only one)
ErrInvalid indicates a label is invalid according to the Bidi Rule.