Implemented struct parser

This commit is contained in:
2025-02-04 14:41:04 +01:00
parent fc1b970f7f
commit 51e3c1ba0e
19 changed files with 388 additions and 252 deletions

View File

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