Add TypeMap alias

This commit is contained in:
Kevin Leung
2017-03-04 22:33:13 +08:00
committed by GitHub
parent 7a3914094d
commit e06c40325b

View File

@@ -14,6 +14,7 @@ typedef Bouncer = tink.macro.Bouncer;
typedef Types = tink.macro.Types;
typedef Binops = tink.macro.Ops.Binary;
typedef Unops = tink.macro.Ops.Unary;
typedef TypeMap<T> = tink.macro.TypeMap<T>;
//TODO: consider adding stuff from haxe.macro.Expr here
typedef MacroOutcome<D, F> = tink.core.Outcome<D, F>;
@@ -35,4 +36,4 @@ class MacroApi {
static public function pos()
return haxe.macro.Context.currentPos();
}
}