tokener

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tokener

type Tokener struct {
	// contains filtered or unexported fields
}

func (*Tokener) Closed

func (t *Tokener) Closed() string

func (*Tokener) Escaped

func (t *Tokener) Escaped() bool

func (*Tokener) Fixed

func (t *Tokener) Fixed() string

func (*Tokener) LastSpace

func (t *Tokener) LastSpace() bool

func (*Tokener) Quoted

func (t *Tokener) Quoted() bool

func (*Tokener) Visit

func (t *Tokener) Visit(b byte)

Visit visit a byte and update the state of the quotes. It returns true if the byte was quotes or escape character.

Jump to

Keyboard shortcuts

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