Class TextWriter
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.TextWriter
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
closing()
void
newLine()
void
opening()
void
space()
void
void
writeDouble
(double value) void
writeFloat
(float value) void
writeInteger
(int value) void
writeLabel
(String label) void
writeLong
(long value) void
-
Field Details
-
pw
-
indent
private int indent
-
-
Constructor Details
-
TextWriter
-
-
Method Details
-
opening
public void opening() -
write
-
newLine
public void newLine() -
closing
public void closing() -
writeText
-
writeInteger
public void writeInteger(int value) -
writeLong
public void writeLong(long value) -
space
public void space() -
writeLabel
-
writeFloat
public void writeFloat(float value) -
writeDouble
public void writeDouble(double value) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-