Implemented struct parser

This commit is contained in:
Eduard Urbach 2025-02-04 14:41:04 +01:00
parent 00e7216256
commit 30940f0100
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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