| Modifier and Type | Field and Description |
|---|---|
| protected StringTemplate | enclosingTemplate
The StringTemplate object surrounding this expr |
| protected String | indentation
Any thing spit out as a chunk (even plain text) must be indented according to whitespace before the action that generated it. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StringTemplate | |
| public String | |
| public void | |
| public abstract int | write(StringTemplate self, StringTemplateWriter out)
How to write this node to output; return how many char written |
| enclosingTemplate | back to summary |
|---|---|
| protected StringTemplate enclosingTemplate The StringTemplate object surrounding this expr | |
| indentation | back to summary |
|---|---|
| protected String indentation Any thing spit out as a chunk (even plain text) must be indented according to whitespace before the action that generated it. So, plain text in the outermost template is never indented, but the text and attribute references in a nested template will all be indented by the amount seen directly in front of the attribute reference that initiates construction of the nested template. | |
| Expr | back to summary |
|---|---|
| public Expr(StringTemplate enclosingTemplate) | |
| getEnclosingTemplate | back to summary |
|---|---|
| public StringTemplate getEnclosingTemplate() | |
| getIndentation | back to summary |
|---|---|
| public String getIndentation() | |
| setIndentation | back to summary |
|---|---|
| public void setIndentation(String indentation) | |
| write | back to summary |
|---|---|
| public abstract int write(StringTemplate self, StringTemplateWriter out) throws IOException How to write this node to output; return how many char written | |