6 Commits
Author SHA1 Message Date
Anton Medvedev 82ec7571df Correctly add OpDeref if needed
Fixes #739
2025-03-09 13:07:38 +01:00
Anton MedvedevandGitHub 68e3148c1f Vendor testify (#642) 2024-05-08 00:24:35 +02:00
needsureandGitHub c0d4644255 chore: fix some typos in conments (#622)
Signed-off-by: needsure <[email protected]>
2024-04-09 13:13:55 +02:00
Ganesan KaruppasamyandGitHub a1ddf76201 Support Valuer Patching for MemberNode (#525) 2024-01-16 09:40:36 +01:00
Anton Medvedev 5d8a11f2c5 Remove redundant func 2023-12-26 16:06:16 +01:00
Ryan BullockandGitHub 3bda06349a Patcher and interfaces for custom types to be used in expressions as standard go types (#487)
* A bultin patcher providing interfaces for custom types that can be represented as standard go types for expressions.

* Move node creation inside of loop.

* Reorder imports. Fix some formatting.

* Rename expr function from 'getExprValue' to '$patcher_value_getter'.

* Move to expr-lang

* Rename Patcher to ValueGetter

* Remove use of Expr in naming

* Rename interface functions to use 'AsType()' convention

* Document motivation and an example use case

* Add example usage to AsAny()

* Move under patcher directory

* Fix reference to old import path
2023-12-26 16:01:55 +01:00