public abstract class BlockWriter extends Object
Aparapi
IR to text.Modifier and Type | Field and Description |
---|---|
static String |
arrayDimMangleSuffix |
static String |
arrayLengthMangleSuffix |
int |
indent |
Constructor and Description |
---|
BlockWriter() |
public static final String arrayLengthMangleSuffix
public static final String arrayDimMangleSuffix
public int indent
public abstract void write(String _string)
public void writeln(String _string)
public void in()
public void out()
public void newLine()
public void writeConditionalBranch16(InstructionSet.ConditionalBranch16 _branch16, boolean _invert) throws CodeGenException
CodeGenException
public void writeComposite(InstructionSet.CompositeInstruction instruction) throws CodeGenException
CodeGenException
public void writeSequence(Instruction _first, Instruction _last) throws CodeGenException
CodeGenException
public void writeBlock(Instruction _first, Instruction _last) throws CodeGenException
CodeGenException
public Instruction writeConditional(BranchSet _branchSet) throws CodeGenException
CodeGenException
public Instruction writeConditional(BranchSet _branchSet, boolean _invert) throws CodeGenException
CodeGenException
public void write(BranchSet.LogicalExpressionNode _node) throws CodeGenException
CodeGenException
public void writeInstruction(Instruction _instruction) throws CodeGenException
CodeGenException
public void writeMethod(InstructionSet.MethodCall _methodCall, ClassModel.ConstantPool.MethodEntry _methodEntry) throws CodeGenException
CodeGenException
public void writeThisRef()
public void writeMethodBody(MethodModel _methodModel) throws CodeGenException
CodeGenException
public abstract void write(Entrypoint entryPoint) throws CodeGenException
CodeGenException
Copyright © 2016 Syncleus. All rights reserved.