lexer

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package lexer provides the lossless lexical layer used by both the compiler and formatter. Comments and newlines are first-class tokens.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lex

func Lex(source []byte) ([]token.Token, []diagnostic.Diagnostic)

Types

type Lexer

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

Jump to

Keyboard shortcuts

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