Utility library for Haxe macro.
Requires Haxe 4 (developed with v4.0.5).
Reinventing the wheel!
Maybe you would prefer to use tink_macro or any other library.
import prayer.*;
using prayer.extensions.Index;
Utility functions using haxe.macro.Context
.
Utility functions for modules.
Some constant values.
Enum, either
Ok(value: T)
orFailed(message: String, position: haxe.macro.Expr.Position)
Also has some additional methods.
Object unit representing a compiler flag with a default value.
Information about a module.
A kind of haxe.macro.Type.AbstractType
instance that has @:enum
metadata.
Just an alias for Array<haxe.macro.Expr.Field>
.
using prayer.extensions.Index;
The above enables you to use additional methods for several macro-related types
(such as Type
, Expr
, Field
, ComplexType
, ClassType
etc).
- sinker v0.3.0 or compatible
See also: FAL Haxe libraries