Juraj Kirchheim
3470f1cc47
Store user defined constructors.
2016-05-20 12:41:20 +02:00
Juraj Kirchheim
065788c198
Replace MacroType with @:genericBuild for direct type converions.
2016-05-18 07:58:28 +02:00
Juraj Kirchheim
331f186dcd
Minor API improvement.
2016-05-02 17:58:09 +02:00
Juraj Kirchheim
43fb9eb16a
Add build cache utility.
2016-05-02 17:45:45 +02:00
Juraj Kirchheim
d53937f836
Avoid stale fields cache.
2016-04-19 18:23:40 +02:00
Juraj Kirchheim
c3cecad472
Add TypeMap with test.
2016-04-19 12:52:45 +02:00
Juraj Kirchheim
c0b562af31
Fix indenting.
2016-04-14 13:54:26 +02:00
back2dos
9b4e9cb81f
Merge branch 'master' of https://github.com/haxetink/tink_macro
2015-05-28 08:58:18 +02:00
back2dos
b90aae8386
Minor simplification in constructor generation.
2015-05-28 08:57:55 +02:00
Eugene Griskov
f4bf23a66b
Made imports and using expressions to use CoreApi redefinitions.
2015-05-19 17:22:23 +01:00
back2dos
a01a1b16ae
Minor fix.
2015-05-19 01:45:02 +02:00
back2dos
b4bfa69376
Make class builder lazy and less opinionated.
2015-05-19 01:38:37 +02:00
back2dos
ef2054d8ff
Minor fix.
2015-05-18 14:51:29 +02:00
back2dos
78e9087ba2
Do not lose constructor metadata.
2015-05-18 14:48:35 +02:00
back2dos
0db8ee09f1
Removed type resolution queue in favor of tink_syntaxhub.
2015-05-18 01:18:17 +02:00
back2dos
dc29f07217
Remove the good old typed map.
2015-05-17 22:58:45 +02:00
back2dos
b02e27b589
Minor cleanup.
2015-04-29 11:30:24 +02:00
back2dos
30c4196f4f
Avoid DCE tango on JS.
2014-08-28 12:22:25 +02:00
back2dos
2acb539b00
Work around macro context cache issue.
2014-06-15 07:07:25 +02:00
back2dos
8ca2259629
Improvements to type building.
2014-06-05 12:33:46 +02:00
back2dos
3cc5e00078
Add wrapper for onTypeNotFound to allow error reporting.
2014-05-16 22:35:51 +02:00
back2dos
56325b37d9
Use std lib for parameter substitution in fields.
2014-05-16 22:35:23 +02:00
back2dos
725bd8b0f5
Minor.
2014-04-14 18:28:51 +02:00
back2dos
f1012c3478
Minor.
2013-12-10 20:50:33 +01:00
back2dos
62aeb25356
Add semi-outer transform.
2013-12-10 20:50:25 +01:00
back2dos
9575043ca5
Make addMeta fluent. Add toField.
2013-12-10 20:49:40 +01:00
back2dos
cc5855883e
Added Exprs.has. Minor cleanup.
2013-12-10 20:48:53 +01:00
back2dos
037f15929f
Nullcheck + cleanup.
2013-12-10 20:47:42 +01:00
back2dos
6d7ec45647
Extended API.
2013-12-10 20:47:10 +01:00
back2dos
e470e0c212
First arg always typed explicitly to avoid using oddities.
2013-11-13 20:20:16 +01:00
back2dos
872b6be411
Deal with ENew and EConst(CIdent)). Updated tests & doc.
2013-11-06 21:59:35 +01:00
back2dos
aefe622434
Added options to yield.
2013-11-02 03:02:18 +01:00
back2dos
7a2b7db830
Fixed ClassBuilder.hasConstructor
2013-10-24 14:31:02 +02:00
back2dos
a57487ab72
Allow getting members by name from ClassBuilder.
2013-10-24 12:49:23 +02:00
back2dos
9c8daad018
Fix setter bypass.
2013-10-23 17:36:34 +02:00
back2dos
70f2c9ba40
Workaround HaxeFoundation/haxe #2272 .
2013-10-21 22:26:54 +02:00
back2dos
583f404089
Support haxe/java oddities.
2013-10-20 12:38:09 +02:00
back2dos
0d6ee48067
Added support for explicitly direct type -> complextype translation.
2013-10-17 10:31:47 +02:00
Jason O'Neil
c7bb41fad4
Avoid conflicting tink.Outcome and tink.OutcomeTools typedefs
...
Aliases for `tink.core.Outcome` were defined in both `tink.CoreApi` and `tink.MacroApi`.
This resulted in the error message:
> Type name tink.Outcome is redefined from module tink.MacroApi
2013-10-17 08:30:53 +08:00
back2dos
ef7fe70446
Make setter bypass in constructor optional.
2013-10-13 19:42:07 +02:00
back2dos
7223ae474a
Reviewed constructor API.
2013-10-01 15:03:16 +02:00
back2dos
716f3b3eb9
Added getVar.
2013-09-30 17:08:04 +02:00
back2dos
5f17f870a1
Formatting.
2013-09-30 17:07:38 +02:00
back2dos
0e0eaf0655
Deal with null positions in getOutcome.
2013-09-30 17:06:55 +02:00
back2dos
da0ca74ad3
Initial context for typed map is optional.
2013-09-30 17:06:03 +02:00
back2dos
fe51e127f2
Rename facade and update code to deal with that.
2013-09-29 13:07:10 +02:00
back2dos
8dc700b434
Minor changes. Bump version.
2013-09-27 23:27:25 +02:00
back2dos
cd15e4b00c
New facade. Rudimentary tests.
2013-09-25 14:32:19 +02:00
back2dos
4054939a7c
Formatting.
2013-09-10 11:43:45 +02:00
back2dos
e30fff4996
Use proper path.
2013-08-01 15:48:46 +02:00