token

package
v0.0.0-...-85d9d8c Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ident = "IDENT"
	Empty = "EMPTY"

	BracedDoubleAsterix = "{**}"
	BracedAsterix       = "{*}"
	Asterix             = "*"

	Separator = "/"

	EmptyLiteral = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List []Token

func (List) String

func (tk List) String() string

type Token

type Token struct {
	Type    TokenType
	Literal string
}

func TokenizePath

func TokenizePath(apiPath string) []Token

type TokenType

type TokenType string

Jump to

Keyboard shortcuts

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