Class CodeWriter
java.lang.Object
org.teavm.backend.c.generate.CodeWriter
- Direct Known Subclasses:
BufferedCodeWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidabstract voidflush()abstract CodeWriterfragment()indent()protected abstract voidindentBy(int amount) protected abstract voidnewLine()abstract voidnosource()outdent()println()printStrictType(ValueType type) printType(VariableType type) abstract voidstatic StringstrictTypeAsString(ValueType type) static StringtypeAsString(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()
-