Lines Matching +full:get +full:- +full:only
3 # Copyright (c) 2012-2013 Devin Teske
38 # $member_name2 and so-on. Properties are not typed and can hold any type of
44 # Both $type and member names should consist only of alpha-numeric letters or
66 # Both access methods are cross-platform compatible with any version of sh(1).
71 # f_struct my_struct get abc # prints 123 to stdout
72 # f_struct my_struct get abc abc # sets local variable $abc to 123
78 # my_struct get abc # prints 123 to stdout
79 # my_struct get abc abc # sets local variable $abc to 123
81 # The secondary form should only be used if/when:
85 # The primary benefit to the secondary form is syntax cleanliness and read-
91 # my_struct get abc # only executed if my_struct exists
107 # f_struct $name get $property [$var_to_set]
114 # If only given $name, returns success if struct $name has been created (using
119 # printed to standard output for capturing in a sub-shell (which is less-
136 get) local __var_to_set="$4"
149 # Unset the collection of environment variables and accessor-function
162 unset -f "$name"
190 if f_struct "$from_name" get $property from_value; then