Declares an enum with the given name and elements.
name
elements
EnumInfo declareEnum(String name, Iterable<String> elements) => currentContext.declareEnum(Sym(name), elements.map((e) => Sym(e)).toList());