Simplified file structure
This commit is contained in:
17
src/scanner/Scanner.go
Normal file
17
src/scanner/Scanner.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user