lexer

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 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 -

func NewLexer

func NewLexer(input string) (l *Lexer)

NewLexer -

func (*Lexer) GetColumnPosition

func (l *Lexer) GetColumnPosition() int

GetColumnPosition -

func (*Lexer) GetLinePosition

func (l *Lexer) GetLinePosition() int

GetLinePosition -

func (*Lexer) NextToken

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

NextToken -

Jump to

Keyboard shortcuts

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