package lexer

import "github.com/gobuffalo/plush/v5/lexer"

Index

Types

type Lexer

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

Lexer moves through the source input and tokenizes its content

func New

func New(input string) *Lexer

New Lexer from the input string

func (*Lexer) NextToken

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

NextToken from the source input

Source Files

lexer.go

Version
v5.0.5 (latest)
Published
May 23, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.