tokenize

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TokenTypeKey = "tokenTypeKey"

TODO: make these their own type

View Source
const TokenTypeSlice = "tokenTypeSlice"

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	Text string
	Type string
}

func Tokenize

func Tokenize(path string) ([]Token, error)

Tokenize a configpath into a list of tokens

Jump to

Keyboard shortcuts

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