package
2.37.0
Repository: https://github.com/scaleway/scaleway-cli.git
Documentation: pkg.go.dev

# README

go-shlex is a simple lexer for go that supports shell-style quoting, commenting, and escaping.

# Functions

NewLexer creates a new lexer from an input stream.
NewTokenizer creates a new tokenizer from an input stream.
Split partitions a string into a slice of strings.

# Constants

Classes of lexographic token.
Classes of lexographic token.
Classes of lexographic token.
Classes of lexographic token.

# Structs

Token is a (type, value) pair representing a lexographical token.
Tokenizer turns an input stream into a sequence of typed tokens.

# Type aliases

Lexer turns an input stream into a sequence of tokens.
TokenType is a top-level token classification: A word, space, comment, unknown.