strtokenizer

package
v0.0.0-...-8504736 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyRune = rune(0)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StringCharacterIndex

type StringCharacterIndex struct {
	R     []rune
	Index int
}

StringCharacterIndex An iterator for moving character by character through a string.

func NewStringCharacterIndex

func NewStringCharacterIndex(s string) *StringCharacterIndex

func (*StringCharacterIndex) HasNext

func (s *StringCharacterIndex) HasNext() bool

func (*StringCharacterIndex) HasPrev

func (s *StringCharacterIndex) HasPrev() bool

func (*StringCharacterIndex) MoveNext

func (s *StringCharacterIndex) MoveNext() bool

func (*StringCharacterIndex) MovePrev

func (s *StringCharacterIndex) MovePrev() bool

func (*StringCharacterIndex) NextValue

func (s *StringCharacterIndex) NextValue() rune

func (*StringCharacterIndex) RemainingString

func (s *StringCharacterIndex) RemainingString() string

func (*StringCharacterIndex) Value

func (s *StringCharacterIndex) Value() rune

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL