added return of unordered_map

static code reader's generate_ast now returns a unordered_map<string, int>