Added accessors for Identifier and Type

This commit is contained in:
2022-09-04 22:19:19 -04:00
parent 691df94ef4
commit 57b98636d0
2 changed files with 54 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ const (
// TypeKindArray means it's an array.
TypeKindArray
// TODO: add a type kind for arrays with a variable amount of elements,
// because they are very much different concepts
)
// Type represents a type specifier