Home | History | Annotate | Download | only in bpdoc

Lines Matching refs:property

27 	ps    map[string]*PropertyStruct // Map of type name to property struct, protected by mutex
38 // Return the PropertyStruct associated with a property struct type. The type should be in the
96 Properties []Property
99 type Property struct {
106 Properties []Property
112 ret.Properties = append([]Property(nil), ret.Properties...)
120 func (p *Property) Clone() Property {
122 ret.Properties = append([]Property(nil), ret.Properties...)
130 func (p *Property) Equal(other Property) bool {
142 func setDefaults(properties []Property, defaults reflect.Value) {
148 panic(fmt.Errorf("property %q does not exist in %q", fieldName, defaults.Type()))
202 func (p *Property) SameSubProperties(other Property) bool {
216 func (ps *PropertyStruct) GetByName(name string) *Property {
220 func getByName(name string, prefix string, props *[]Property) *Property {
231 func (p *Property) Nest(nested *PropertyStruct) {
258 func structProperties(structType *ast.StructType) (props []Property, err error) {
270 var innerProps []Property
323 props = append(props, Property{
344 func filterPropsByTag(props *[]Property, key, value string, exclude bool) {
446 // Ignore property structs with unexported or unnamed types
459 // Ignore property structs with unexported or unnamed types
527 panic(fmt.Errorf("unexpected kind for property struct field %q: %s",
538 // Remove any property structs that have no exported fields
548 // Squashes duplicates of the same property struct into single entries
565 func collapseDuplicateProperties(to, from *[]Property) {
579 // Find all property structs that only contain structs, and move their children up one with
587 func collapseNestedProperties(p *[]Property) {
588 var n []Property
619 func combineDuplicateSubProperties(p *[]Property) {
620 var n []Property
656 // property struct that is used by the module type, containing all properties that are valid