Skip to content

Instantly share code, notes, and snippets.

@YellowAfterlife
YellowAfterlife / FTW.hx
Last active December 28, 2015 11:38 — forked from dpeek/FTW.hx
import haxe.macro.Expr;
import haxe.macro.Context;
class FTW {
public static function build() {
return haxe.macro.Context.getBuildFields().map(transformField);
}
static function transformField(field:Field) {
switch (field.kind) {