RuleMethods support only one attribute – “Cached
”. If it’s specified, then after the first execution of the method its returned value is cached (memorized) in AST and becomes accessible through a property. The property will get the method’s name without standard prefixes:
Get
Compute
Calculate
Calc
Create
Make
Evaluate
Eval