Skip to content

Instantly share code, notes, and snippets.

Avatar

Vadim Dyachenko YellowAfterlife

View GitHub Profile
View 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) {
You can’t perform that action at this time.