lexer

package
v0.0.0-...-73a082e Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUnit

func AddUnit(u LexUnit)

func Compile

func Compile() (tester.Scan, error)

Types

type LexUnit

type LexUnit interface {
	ActionFunc(token int) ([]byte, lexmachine.Action)
	Scan(token *lexmachine.Token, s *tester.Suite) error
	Cmd() tester.CmdFunc
	SetLexer(l *lexmachine.Lexer)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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