lexer

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 4 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
}

Lexer converts raw SQL text into a stream of tokens.

func New

func New(input string) *Lexer

New creates a new Lexer instance.

func (*Lexer) NextToken

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

NextToken advances and returns the next token from the input.

Jump to

Keyboard shortcuts

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