File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ whitespace-separated list and are evaluated in the order presented.
111
111
Modifiers cannot implicitly access or change the arguments and return values of functions they modify.
112
112
Their values can only be passed to them explicitly at the point of invocation.
113
113
114
+ In function modifiers, it is necessary to specify when you want the function to which the modifier is
115
+ applied to be run. The placeholder statement (denoted by a single underscore character ``_ ``) is used to
116
+ denote where the body of the function being modified should be inserted. Note that the
117
+ placeholder operator is different from using underscores as leading or trailing characters in variable
118
+ names, which is a stylistic choice.
119
+
114
120
Explicit returns from a modifier or function body only leave the current
115
121
modifier or function body. Return variables are assigned and
116
122
control flow continues after the ``_ `` in the preceding modifier.
You can’t perform that action at this time.
0 commit comments