scanner

package
v0.8.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

line internal/scanner/scanner.rl:1

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
}

func NewLexer

func NewLexer(data []byte, config conf.Config) *Lexer

func (*Lexer) Lex

func (lex *Lexer) Lex() *token.Token

type NewLines

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

func (*NewLines) Append

func (nl *NewLines) Append(p int)

func (*NewLines) GetLine

func (nl *NewLines) GetLine(p int) int

Jump to

Keyboard shortcuts

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