Function
determineFieldType
(expression Expression, fieldTypeDescriptor FieldTypeDescriptor)
Source from the content-addressed store, hash-verified
| 591 | } |
| 592 | |
| 593 | func determineFieldType(expression Expression, fieldTypeDescriptor FieldTypeDescriptor) (fieldType FieldType, isValueType bool) { |
| 594 | if typeDescriptor, ok := expression.(TypeDescriptor); ok { |
| 595 | fieldType = typeDescriptor.FieldType(fieldTypeDescriptor) |
| 596 | isValueType = true |
| 597 | } |
| 598 | |
| 599 | return |
| 600 | } |
| 601 | |
| 602 | func fieldTypeNamesString(fieldTypes []FieldType) string { |
| 603 | var typeNames []string |
Tested by
no test coverage detected