AF-PlasticUser Guide
Overview
afPlastic
is a library for dynamically generating and compiling Fantom code.
Quick Start
model := PlasticClassModel("MyClass", true) model.addMethod(Str#, "greet", "Str name", """ "Hello \${name}!" """) myType := PlasticCompiler().compileModel(model) myType.make->greet("Mum") // --> Hello Mum!