add vendor files

This commit is contained in:
fatedier
2019-08-06 16:50:54 +08:00
parent b53a2c1ed9
commit 261be6a7b7
37 changed files with 39790 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !go1.10
package bidirule
func (t *Transformer) isFinal() bool {
if !t.isRTL() {
return true
}
return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
}