back2dos / tinkerbell

MIT License
83 stars 8 forks source link

MetadataTools and two minor additions #5

Closed Simn closed 12 years ago

Simn commented 12 years ago

I would like to use these changes for my soon-to-be tinkified version of overload-operator. I frequently use getStatics() in build macros and I need to compare UnOps by string value. The MetadataTools allow me to use

var opMeta = field.meta.get().getValues("op"); // Array<Array<Expr>>