generates AST for a struct definition
changes index to next token after struct definition
See Implementation
generates AST for a struct definition
changes index to next token after struct definition