Package org.robovm.compiler.llvm
Interface Writable
- All Known Subinterfaces:
Landingpad.Clause
- All Known Implementing Classes:
Add,AggregateType,Alias,AliasRef,Alloca,And,Argument,ArrayConstant,ArrayType,Ashr,BasicBlock,BinaryOpConstant,BinaryOpInstruction,Bitcast,BooleanConstant,Br,ByteArrayConstant,Call,Constant,ConstantAdd,ConstantAnd,ConstantBitcast,ConstantGetelementptr,ConstantInttoptr,ConstantPtrtoint,ConstantSub,ConstantTrunc,ConstantXor,ConversionConstant,ConversionInstruction,DebugMetadata,DIHeader,Fadd,Fcmp,Fdiv,Fence,FloatingPointBinaryInstruction,FloatingPointConstant,FloatingPointType,Fmul,Fpext,Fptrunc,Frem,Fsub,Function,FunctionCallInstruction,FunctionDeclaration,FunctionRef,FunctionType,Getelementptr,Global,GlobalRef,Icmp,Instruction,IntegerBinaryConstant,IntegerBinaryInstruction,IntegerConstant,IntegerType,Inttoptr,Invoke,Landingpad,Landingpad.Catch,Landingpad.Filter,Load,Lshr,Metadata,MetadataNode,MetadataString,MetadataType,MetadataValue,Module,Mul,NamedMetadata,NullConstant,OpaqueType,Or,PackedStructureConstant,PackedStructureType,Phi,PlainTextInstruction,PointerType,PrimitiveType,Ptrtoint,Ret,Sdiv,Sext,Shl,Sitofp,Srem,Store,StringConstant,StructureConstant,StructureType,Sub,Switch,TailCall,Trunc,Type,Uitofp,UnaryOpInstruction,UnnamedMetadata,UnnamedMetadataRef,Unreachable,UserType,Value,VariableRef,VectorStructureType,Xor,ZeroInitializer,Zext
public interface Writable
interface for classes that can write own text presentation using Writer.
Used as toString() replacement to optimize memory usage
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWritable.Provider -
Method Summary
Modifier and Type Method Description default StringtoString(Writable.Provider provider)voidwrite(Writer writer)
-
Method Details
-
write
- Throws:
IOException
-
toString
-