Lines Matching refs:prefix
447 prefix string, productVariablePropertyValue reflect.Value, variableValue interface{}) {
449 printfIntoProperties(ctx, prefix, productVariablePropertyValue, variableValue)
462 func printfIntoPropertiesError(ctx BottomUpMutatorContext, prefix string,
466 property := prefix + "." + proptools.PropertyNameForField(field)
470 func printfIntoProperties(ctx BottomUpMutatorContext, prefix string,
486 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err)
492 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err)
498 printfIntoProperties(ctx, prefix, propertyValue, variableValue)
598 func(field reflect.StructField, prefix string) (bool, reflect.StructField) {
600 if prefix == "" {
604 _, rest := splitPrefix(prefix)
611 _, prefix = splitPrefix(rest)
614 if fieldExistsByNameRecursive(reflect.TypeOf(p).Elem(), prefix, field.Name) {
625 func splitPrefix(prefix string) (first, rest string) {
626 index := strings.IndexByte(prefix, '.')
628 return prefix, ""
630 return prefix[:index], prefix[index+1:]
633 func fieldExistsByNameRecursive(t reflect.Type, prefix, name string) bool { argument
638 if prefix != "" {
639 split := strings.SplitN(prefix, ".", 2)