Method that should compile the DSL and return a function of type (...) => T.
Method that should compile the DSL and return a function of type (...) => T.
The set of optional variables that should be treated as
unstable, to be passed to the generateCode
function.
Should return a string with a class definition of the DSL code.
Should return a string with a class definition of the DSL code. The class must be a Scala FunctionX with adequate number of types of arguments.
The name of the class.
If the DSL program has optional compilation variables, this set contains the holeIds of the variables for which the value should be ignored and generic code using only the hole should be generated. The others (stable) should be treated like required variables.
Base trait for code generating DSLs.