Revert "CodeEmitter"

This reverts commit 75372ee132.
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-22 12:55:26 +02:00
parent 75372ee132
commit 5833f9af67
2 changed files with 2 additions and 6 deletions

View File

@ -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);
}

View File

@ -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));