Simplified type system
This commit is contained in:
parent
71d7cdf5b2
commit
bd0a468282
16 changed files with 70 additions and 55 deletions
|
@ -2,10 +2,10 @@ package types
|
|||
|
||||
import "git.akyoto.dev/cli/q/src/token"
|
||||
|
||||
// Field is a field in a data structure.
|
||||
// Field is a memory region in a data structure.
|
||||
type Field struct {
|
||||
Type Type
|
||||
Name string
|
||||
Position token.Position
|
||||
Offset uint8
|
||||
Offset int
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue