Parse basic information about data sections (name, type)

This commit is contained in:
Sasha Koshka
2022-08-16 10:44:02 -04:00
parent ac40fa96e5
commit f978621673
2 changed files with 105 additions and 3 deletions

View File

@@ -42,9 +42,9 @@ type Type struct {
mutable bool
kind TypeKind
// only applicable for arrays. a value of nil means it has an
// only applicable for arrays. a value of zero means it has an
// undefined/dynamic length.
length *Argument
length uint64
// only applicable for basic.
name Identifier