Versions in this module Expand all Collapse all v0 v0.9.0 Apr 4, 2020 v0.8.0 Mar 25, 2020 Changes in this version + const MaxInt + const MinInt + func RuneCountInString(str string) int + type Among struct + A int32 + B int32 + F AmongF + Str string + func (a *Among) String() string + type AmongF func(env *Env, ctx interface{}) bool + type Env struct + Bra int + Cursor int + Ket int + Limit int + LimitBackward int + func NewEnv(val string) *Env + func (env *Env) AssignTo() string + func (env *Env) ByteIndexForHop(delta int32) int32 + func (env *Env) Clone() *Env + func (env *Env) Current() string + func (env *Env) Debug(count, lineNumber int) + func (env *Env) EqS(s string) bool + func (env *Env) EqSB(s string) bool + func (env *Env) FindAmong(amongs []*Among, ctx interface{}) int32 + func (env *Env) FindAmongB(amongs []*Among, ctx interface{}) int32 + func (env *Env) InGrouping(chars []byte, min, max int32) bool + func (env *Env) InGroupingB(chars []byte, min, max int32) bool + func (env *Env) Insert(bra, ket int, s string) + func (env *Env) NextChar() + func (env *Env) OutGrouping(chars []byte, min, max int32) bool + func (env *Env) OutGroupingB(chars []byte, min, max int32) bool + func (env *Env) PrevChar() + func (env *Env) ReplaceS(bra, ket int, s string) int32 + func (env *Env) SetCurrent(s string) + func (env *Env) SliceDel() bool + func (env *Env) SliceFrom(s string) bool + func (env *Env) SliceTo() string