lexer

package
v0.0.0-...-95ae90b Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lexer

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

func New

func New(reader io.Reader) *Lexer

func NewFile

func NewFile(file string) (*Lexer, error)

func NewFileList

func NewFileList(files []string) (*Lexer, error)

func NewString

func NewString(input string) *Lexer

func (*Lexer) NextToken

func (l *Lexer) NextToken() token.Token

Jump to

Keyboard shortcuts

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