Revert "CodeEmitter"

This reverts commit 75372ee132.
hotfix/jcli_upgrade_fix
Tristan B. V. Kildaire 10 months ago
parent 75372ee132
commit 5833f9af67

@ -165,11 +165,7 @@ public abstract class CodeEmitter
*
* Params:
* instruction = The Instruction to transform/emit
* customRules = an `Object` to be interpreted by
* the underlying emitter which can change how certain
* transformations are done when it is in a certain state
*
* Returns: The Instruction emit as a string
*/
public abstract string transform(Instruction instruction, Object customRules = null);
public abstract string transform(Instruction instruction);
}

@ -110,7 +110,7 @@ public final class DCodeEmitter : CodeEmitter
}
public override string transform(const Instruction instruction, Object customRules = null)
public override string transform(const Instruction instruction)
{
writeln("\n");
gprintln("transform(): "~to!(string)(instruction));

Loading…
Cancel
Save