- parse enums, write enum declarations to extension file