Home | History | Annotate | Download | only in src

Lines Matching refs:enum_def

45           auto &enum_def = **it;
47 GenEnum(enum_def, &enumcode);
48 if (!SaveType(enum_def, enumcode, false)) return false;
828 static void GenEnum(const EnumDef &enum_def, std::string *code_ptr) {
829 if (enum_def.generated) return;
831 GenComment(enum_def.doc_comment, code_ptr, nullptr);
832 BeginEnum(enum_def.name, code_ptr);
833 for (auto it = enum_def.vals.vec.begin();
834 it != enum_def.vals.vec.end();
844 for (auto it = enum_def.vals.vec.begin();
845 it != enum_def.vals.vec.end(); ++it) {
891 if (value.type.enum_def) {
892 if (auto val = value.type.enum_def->ReverseLookup(
894 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name;