public abstract class CodeGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
indent |
protected static java.lang.String |
NL |
protected static java.lang.String |
TAB |
Modifier | Constructor and Description |
---|---|
|
CodeGenerator(GCodeSection other) |
protected |
CodeGenerator(int initialIndent) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getIndentString(int indentionLevel) |
void |
indent(int n) |
abstract void |
reset() |
protected static java.lang.String |
toCamelCase(java.lang.String name) |
protected static java.lang.String |
toFirstLowerCase(java.lang.String name) |
protected static final java.lang.String NL
protected static final java.lang.String TAB
protected java.lang.String indent
protected CodeGenerator(int initialIndent)
public CodeGenerator(GCodeSection other)
public void indent(int n)
protected java.lang.String getIndentString(int indentionLevel)
protected static java.lang.String toCamelCase(java.lang.String name)
protected static java.lang.String toFirstLowerCase(java.lang.String name)
public abstract void reset()