lexer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LexError

type LexError string

func (LexError) Error

func (le LexError) Error() string

type Lexer

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

func NewLexer

func NewLexer(input io.RuneScanner) *Lexer

func (*Lexer) GetLineNumber

func (lexer *Lexer) GetLineNumber() int

func (*Lexer) NextToken

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

Jump to

Keyboard shortcuts

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