parser

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ILLEGAL = "ILLEGAL"
	EOF     = "EOF"

	IDENT  = "IDENT"
	STRING = "STRING"

	AT     = "@"
	ASSIGN = "="
	COMMA  = ","

	LPAREN = "("
	RPAREN = ")"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation interface {
	Name() string
	Params() map[string]string
}

func Parse

func Parse(doc string) ([]Annotation, error)

Jump to

Keyboard shortcuts

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