parser

package
v0.0.0-...-d8d80a5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandToken      = "command"
	StringToken       = "string"
	RawStringToken    = "raw-string"
	SubstitutionToken = "substitution"
	SeparateToken     = "separate"
)

Variables

View Source
var DEBUG = false

Functions

This section is empty.

Types

type Token

type Token struct {
	Kind string
	Val  string
}

func ParenParser

func ParenParser(tok []Token, start, end, kind string) ([]Token, error)

func Parse

func Parse(expr string) ([]Token, error)

Jump to

Keyboard shortcuts

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