Package org.teavm.backend.c.generate
Class CodeWriter
java.lang.Object
org.teavm.backend.c.generate.CodeWriter
- Direct Known Subclasses:
BufferedCodeWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
abstract void
flush()
abstract CodeWriter
fragment()
indent()
protected abstract void
indentBy
(int amount) protected abstract void
newLine()
abstract void
nosource()
outdent()
println()
printStrictType
(ValueType type) printType
(VariableType type) abstract void
static String
strictTypeAsString
(ValueType type) static String
typeAsString
(ValueType type)
-
Constructor Details
-
CodeWriter
public CodeWriter()
-
-
Method Details
-
fragment
-
println
-
println
-
print
-
indent
-
outdent
-
printType
-
printStrictType
-
strictTypeAsString
-
typeAsString
-
printType
-
newLine
protected abstract void newLine() -
append
-
indentBy
protected abstract void indentBy(int amount) -
flush
public abstract void flush() -
source
-
nosource
public abstract void nosource()
-