scanner

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultScanMode = scanner.GoTokens
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	scanner.Scanner
}

func NewScanner

func NewScanner(file *lexer.File, src io.Reader) *Scanner

func (*Scanner) Scan

func (s *Scanner) Scan() (pos lexer.Pos, tok lexer.Token, lit string)

Jump to

Keyboard shortcuts

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