| 128 | } |
| 129 | |
| 130 | type ModuleEnum struct { |
| 131 | TypeDef *EnumTypeDef |
| 132 | Name string |
| 133 | |
| 134 | // Local marks this enum value as local to the module that declares its |
| 135 | // typedef. This is so that when converting it to/from it's own module we |
| 136 | // can use its OriginalName, but when converting it for other modules, we |
| 137 | // use the declared Name. |
| 138 | Local bool |
| 139 | } |
| 140 | |
| 141 | func (e *ModuleEnum) TypeName() string { |
| 142 | return e.TypeDef.Name |
nothing calls this directly
no outgoing calls
no test coverage detected