package lexer

import "github.com/gobuffalo/plush/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
v3.8.3+incompatible (latest)
Published
Jul 15, 2019
Platform
linux/amd64
Imports
2 packages
Last checked
6 days ago

Tools for package owners.