Simplified file structure

This commit is contained in:
2024-08-07 19:39:10 +02:00
parent 1b13539b22
commit 66569446b1
219 changed files with 453 additions and 457 deletions

17
src/scanner/Scanner.go Normal file
View File

@ -0,0 +1,17 @@
package scanner
import (
"sync"
"git.akyoto.dev/cli/q/src/core"
"git.akyoto.dev/cli/q/src/fs"
)
// Scanner is used to scan files before the actual compilation step.
type Scanner struct {
files chan *fs.File
functions chan *core.Function
errors chan error
queued sync.Map
group sync.WaitGroup
}