annotations

package
v0.0.0-...-7720055 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ILLEGAL token = iota
	EOF

	// Identifiers
	ANNOTATION
	VALUE

	LPAREN // (
	RPAREN // )
	COMMA  // ,
)

Variables

This section is empty.

Functions

func Parse

func Parse(s *Scanner) map[string]string

Parse ...

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

Scanner represents a lexical Scanner.

func NewScanner

func NewScanner(r io.Reader) *Scanner

NewScanner returns a new instance of Scanner.

func NewStringScanner

func NewStringScanner(s string) *Scanner

NewScanner returns a new instance of Scanner.

func (*Scanner) Scan

func (s *Scanner) Scan() (token, string)

Jump to

Keyboard shortcuts

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