Documentation ¶
Index ¶
- type Strings
- func (sl *Strings) Append(v starlark.Value) error
- func (sl *Strings) Attr(name string) (starlark.Value, error)
- func (sl *Strings) AttrNames() []string
- func (sl *Strings) Clear() error
- func (sl *Strings) CompareSameType(op syntax.Token, y starlark.Value, depth int) (bool, error)
- func (sl *Strings) Freeze()
- func (sl *Strings) GoStrings() (xs []string)
- func (sl *Strings) Hash() (uint32, error)
- func (sl *Strings) Index(i int) starlark.Value
- func (sl *Strings) Iterate() starlark.Iterator
- func (sl *Strings) Len() int
- func (sl *Strings) SetIndex(i int, v starlark.Value) error
- func (sl *Strings) Slice(start, end, step int) starlark.Value
- func (sl *Strings) String() string
- func (sl *Strings) Truth() starlark.Bool
- func (sl *Strings) Type() string
- func (sl *Strings) Unpack(v starlark.Value) error
- type UniqueStrings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strings ¶
type Strings struct {
// contains filtered or unexported fields
}
Strings is a subtype of *starlark.List containing only starlark.String.s
func (*Strings) CompareSameType ¶
type UniqueStrings ¶
type UniqueStrings struct {
// contains filtered or unexported fields
}
UniqueStrings implements starlark.Unpacker
func (*UniqueStrings) GoStrings ¶
func (us *UniqueStrings) GoStrings() []string
GoStrings returns the list of unique strings as a Go slice
Click to show internal directories.
Click to hide internal directories.