public class GComment extends GCodeSection
Modifier and Type | Class and Description |
---|---|
static class |
GComment.Type |
Modifier and Type | Field and Description |
---|---|
static GComment |
EMPTY |
currentLine
indent, NL, TAB
Constructor and Description |
---|
GComment(GComment.Type type) |
GComment(GComment other) |
Modifier and Type | Method and Description |
---|---|
GComment |
append(java.lang.String text) |
GComment |
appendln() |
GComment |
appendln(java.lang.String line) |
void |
reset() |
java.lang.String |
toString(int indent) |
append, getLines, numLines, sortLines, sortLines
getIndentString, indent, toCamelCase, toFirstLowerCase
public static final GComment EMPTY
public GComment(GComment.Type type)
public GComment(GComment other)
public void reset()
reset
in class GCodeSection
public GComment appendln(java.lang.String line)
appendln
in class GCodeSection
public GComment appendln()
appendln
in class GCodeSection
public GComment append(java.lang.String text)
append
in class GCodeSection
public java.lang.String toString(int indent)
toString
in class GCodeSection