Lines Matching refs:prop
131 for _, prop := range module.Properties {
132 if prop.Name == "name" && prop.Value.Type() == parser.StringType {
133 if targetedModule(prop.Value.Eval().(*parser.String).Value) {
134 m, newErrs := processModule(module, prop.Name, file)
148 prop, err := getRecursiveProperty(module, targetedProperty.name(), targetedProperty.prefixes())
152 if prop == nil {
155 …prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
158 …prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
170 m, errs := processParameter(prop.Value, targetedProperty.String(), moduleName, file)
175 func getRecursiveProperty(module *parser.Module, name string, prefixes []string) (prop *parser.Prop…
176 prop, _, err = getOrCreateRecursiveProperty(module, name, prefixes, nil)
177 return prop, err
181 empty parser.Expression) (prop *parser.Property, modified bool, err error) {
187 empty parser.Expression) (prop *parser.Property, modified bool, err error) {
190 if prop, found := m.GetProperty(prefix); found {
191 if mm, ok := prop.Value.Eval().(*parser.Map); ok {
197 strings.Join(prefixes[:i+1], "."), prop.Value.Type())
210 if prop, found := m.GetProperty(name); found {
212 return prop, false, nil
214 prop = &parser.Property{Name: name, Value: empty}
215 m.Properties = append(m.Properties, prop)
216 return prop, true, nil