MCPcopy
hub / github.com/davyxu/tabtoy / anyFieldOutput

Function anyFieldOutput

v2/printer/lua.go:187–201  ·  view source on GitHub ↗
(d *model.Descriptor)

Source from the content-addressed store, hash-verified

185}
186
187func anyFieldOutput(d *model.Descriptor) bool {
188 for _, fd := range d.Fields {
189
190 if fd.Meta.GetBool("LuaValueMapperString") {
191 return true
192 }
193
194 if fd.Meta.GetBool("LuaStringMapperValue") {
195 return true
196 }
197
198 }
199
200 return false
201}
202
203// 收集需要构建的索引的类型
204func genLuaEnumCode(g *Globals, stream *Stream, globalFile *model.FileDescriptor) bool {

Callers 1

genLuaEnumCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected