Skip to content

Instantly share code, notes, and snippets.

// In short, it turns the following code (spoilers!!)
macro { someFunction(lorem, ipsum, dolor); }
// into the following structure (pay no attention to "pos" for now)
{
expr => EBlock([
{
expr => ECall(
{
expr => EConst(CIdent(someFunction)),
@:remove
@:autoBuild(SkipSerializeMacro.build())
interface ISkipSerialize {}