Marks function/method for usage with AttributedFunction.
Marks function/method for usage with AttributedFunction.
Computes the given attributed parameter using the corresponding @before modifier.
Computes the given attributed parameter using the corresponding @before modifier.
Syntax sugar in top of AttributedFunction
Processes the function return value using all @after modifiers.
Helper mixin to support private member functions for @before attributes.
Entry point for funcattr API.
Checks if parameter is calculated by one of attached functions.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
© 2013 RejectedSoftware e.K.
Helpers for working with user-defined attributes that can be attached to function or method to modify its behavior. In some sense those are similar to Python decorator. D does not support this feature natively but it can be emulated within certain code generation framework.