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)
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.
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |