lexer

package
v0.0.0-...-47e1695 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: MIT Imports: 1 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 - The lexer

func New

func New(input string) *Lexer

New - Returns a new Lexer pointer

func (*Lexer) NextToken

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

NextToken - Get next token

Jump to

Keyboard shortcuts

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