Implemented dependency tracking

This commit is contained in:
Eduard Urbach 2025-03-03 12:14:53 +01:00
parent acfa6de1d4
commit b095a95021
Signed by: eduard
GPG key ID: 49226B848C78F6C8
12 changed files with 75 additions and 69 deletions

View file

@ -11,17 +11,18 @@ import (
// Function represents the smallest unit of code.
type Function struct {
register.Machine
Package string
Name string
UniqueName string
All *Environment
File *fs.File
Body token.List
Input []*Parameter
Output []*Parameter
OutputTypes []types.Type
DLLs dll.List
Err error
deferred []func()
count count
Package string
Name string
UniqueName string
All *Environment
File *fs.File
Body token.List
Input []*Parameter
Output []*Parameter
OutputTypes []types.Type
Dependencies []*Function
DLLs dll.List
Err error
deferred []func()
count count
}