Lines Matching refs:b
114 func (b *OverridableModuleBase) setOverridableProperties(prop []interface{}) {
115 b.overridableProperties = prop
118 func (b *OverridableModuleBase) addOverride(o OverrideModule) {
119 b.overridesLock.Lock()
120 b.overrides = append(b.overrides, o)
121 b.overridesLock.Unlock()
125 func (b *OverridableModuleBase) getOverrides() []OverrideModule {
126 return b.overrides
129 func (b *OverridableModuleBase) setOverridesProperty(overridesProperty *[]string) {
130 b.overridesProperty = overridesProperty
134 func (b *OverridableModuleBase) override(ctx BaseModuleContext, o OverrideModule) {
137 if b.overridesProperty != nil {
138 *b.overridesProperty = append(*b.overridesProperty, ctx.ModuleName())
140 for _, p := range b.overridableProperties {
193 if b, ok := ctx.Module().(OverridableModule); ok {
194 overrides := b.getOverrides()