Skip to content

Instantly share code, notes, and snippets.

@bamboo
bamboo / assign.boo
Created February 9, 2011 19:47
Meta method expanding named arguments into property assignments.
import System
import Boo.Lang.Compiler
import Boo.Lang.Compiler.Ast
import Boo.Lang.Compiler.Services
import Boo.Lang.Environments
import Boo.Lang.Compiler.MetaProgramming
[meta]
def assign(e as MethodInvocationExpression):
"""