Skip to content

Commit

Permalink
Link to y_decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Less authored Nov 6, 2023
1 parent a061870 commit 79de239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,5 @@ Because `@task__` has three named parameters the annotation does too:

Some annotations in YSI use a slightly more complex method for achieving this effect. I'd like to pretend that some of this is because they're secretly doing more advanced things behind the scenes, but a lot of it is just because I hadn't come up with the helper/`@init()` method yet.

To simplify another aspect of writing a decorator, i.e. analysing the function's parameters, there is now the [y_decorator library](https://github.com/pawn-lang/YSI-Includes/blob/5.x/YSI_Server/y_decorator/quick-start.md) which provides some basic code analysis for you. For more advanced options you can use [code-parse.inc](https://github.com/Y-Less/code-parse.inc).

0 comments on commit 79de239

Please sign in to comment.