Package EDU.purdue.jtb.common
Class Spacing
java.lang.Object
EDU.purdue.jtb.common.Spacing
Class
Spacing
manages the indentation information for pretty printing.
Class maintains a state, and is not supposed to be run in parallel threads (on the same generated class).
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The indentation levelThe indentation string -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
spc
The indentation string -
indentLevel
public int indentLevelThe indentation level
-
-
Constructor Details
-
Spacing
public Spacing(int aIndentAmt) Constructor.- Parameters:
aIndentAmt
- - the indentation amount
-
-
Method Details