plush: Index | Files

package lexer

import ""


Package Files


type Lexer Uses

type Lexer struct {
    // contains filtered or unexported fields

Lexer moves through the source input and tokenizes its content

func New Uses

func New(input string) *Lexer

New Lexer from the input string

func (*Lexer) NextToken Uses

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

NextToken from the source input

Package lexer imports 2 packages (graph) and is imported by 2 packages. Updated 2018-07-24. Refresh now. Tools for package owners.