lexer

package
v3.8.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: MIT Imports: 2 Imported by: 10

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 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

Jump to

Keyboard shortcuts

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