deployr: github.com/skx/deployr/lexer Index | Files

package lexer

import "github.com/skx/deployr/lexer"

Index

Package Files

lexer.go

type Lexer Uses

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

Lexer is used as the lexer for our deployr "language".

func New Uses

func New(input string) *Lexer

New a Lexer instance from string input.

func (*Lexer) Dump Uses

func (l *Lexer) Dump()

Dump outputs the complete stream of tokens from the lexer, consuming all input as it does so.

func (*Lexer) NextToken Uses

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

NextToken to read next token, skipping the white space.

Package lexer imports 3 packages (graph) and is imported by 1 packages. Updated 2019-10-13. Refresh now. Tools for package owners.