static getExpectedType ():Null<Type>
Returns the type which is expected at the place the macro is called.
This affects usages such as var x:Int = macroCall(), where the expected type will be reported as Int.
Might return null if no specific type is expected or if the calling macro is not an expression-macro.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.