lex

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: MIT Imports: 8 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(input string) *Lexer

func (*Lexer) Clone

func (l *Lexer) Clone() *Lexer

func (*Lexer) Column

func (l *Lexer) Column() int

func (*Lexer) Line

func (l *Lexer) Line() int

func (*Lexer) Next

func (l *Lexer) Next() (*token.Token, error)

func (*Lexer) Peek

func (l *Lexer) Peek() (*token.Token, error)

Jump to

Keyboard shortcuts

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