function def lex done, function def parse - how to do ast nodes with type?