You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when a declarative hook is called with an exec, the entire context is parsed with a special field for returning the appropriate value (return) being used to specify what the result is of that parsing.
This proposal would modify the parsing behaviour so that special keys can be used to indicate whether a variable is returned.
Examples
Normal parsing
foo: barreturn->: return {{foo}}
Macros
foo: barreturn->: return {{foo}}
Then move to using return hook.
foo: bartmp:
->: return {{foo}}
The text was updated successfully, but these errors were encountered:
Return Key
Create a special key for returning the value when parsing
Proposal Status: wip
Issue Number: 245
Proposal Doc: return-key.md
Overview
Currently when a declarative hook is called with an exec, the entire context is parsed with a special field for returning the appropriate value (
return
) being used to specify what the result is of that parsing.This proposal would modify the parsing behaviour so that special keys can be used to indicate whether a variable is returned.
Examples
Normal parsing
Macros
Then move to using return hook.
The text was updated successfully, but these errors were encountered: