Tree returns a section interface when given a name

This commit is contained in:
2022-09-04 17:13:49 -04:00
parent d930e72c0c
commit 9269161138
3 changed files with 23 additions and 2 deletions

View File

@@ -10,7 +10,9 @@ type SyntaxTree struct {
license string
author string
requires []string
requires []string
sections map[string] Section
typeSections map[string] *TypeSection
objtSections map[string] *ObjtSection
enumSections map[string] *EnumSection