src

package
v0.0.0-...-2ce2f6c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Mutex

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

func GetMutex

func GetMutex() *Mutex

func (*Mutex) Exit

func (m *Mutex) Exit(code int)

func (*Mutex) Report

func (m *Mutex) Report(line int, where, message string)

func (*Mutex) ReportError

func (m *Mutex) ReportError(line int, message string)

type Scanner

type Scanner struct {
	SourceCode []rune
	Tokens     []*lexer.Token

	Start   int
	Current int
	Line    int
}

func NewScanner

func NewScanner(sourceCode string) *Scanner

func (*Scanner) ScanToken

func (s *Scanner) ScanToken()

func (*Scanner) ScanTokens

func (s *Scanner) ScanTokens() []*lexer.Token

Directories

Path Synopsis
frontend
ast

Jump to

Keyboard shortcuts

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