Improved type system checks
This commit is contained in:
parent
f1c8b2daf5
commit
e2f607805c
9 changed files with 49 additions and 61 deletions
|
@ -11,19 +11,20 @@ import (
|
|||
// Function represents the smallest unit of code.
|
||||
type Function struct {
|
||||
register.Machine
|
||||
Package string
|
||||
Name string
|
||||
UniqueName string
|
||||
File *fs.File
|
||||
Body token.List
|
||||
Input []*Input
|
||||
Output []*Output
|
||||
Functions map[string]*Function
|
||||
Structs map[string]*types.Struct
|
||||
DLLs dll.List
|
||||
Err error
|
||||
deferred []func()
|
||||
count counter
|
||||
Package string
|
||||
Name string
|
||||
UniqueName string
|
||||
File *fs.File
|
||||
Body token.List
|
||||
Input []*Input
|
||||
Output []*Output
|
||||
OutputTypes []types.Type
|
||||
Functions map[string]*Function
|
||||
Structs map[string]*types.Struct
|
||||
DLLs dll.List
|
||||
Err error
|
||||
deferred []func()
|
||||
count counter
|
||||
}
|
||||
|
||||
// counter stores how often a certain statement appeared so we can generate a unique label from it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue