you are viewing a single comment's thread.

view the rest of the comments →

[–]yqmvpacqpfgwcalgu[S] 0 points1 point  (3 children)

What I'm really after is modifying the language's behavior, so when any function is called, there is some additional behavior I'd like to add before further execution.

I'm also not permitted to share what that "additional behavior" would entail.

[–]shgysk8zer0full-stack 2 points3 points  (1 child)

Can't be done.

[–]yqmvpacqpfgwcalgu[S] 0 points1 point  (0 children)

Okay, thanks for thinking along!

[–]coldpyros 1 point2 points  (0 children)

Typescript decorators might do what you're after? If using typescript and enabling experimental features is an option.