public abstract class Expr
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected StringTemplate |
enclosingTemplate |
The StringTemplate object surrounding this expr
|
protected java.lang.String |
indentation |
Any thing spit out as a chunk (even plain text) must be indented
according to whitespace before the action that generated it.
|
| Constructor | Description |
|---|---|
Expr(StringTemplate enclosingTemplate) |
| Modifier and Type | Method | Description |
|---|---|---|
StringTemplate |
getEnclosingTemplate() |
|
java.lang.String |
getIndentation() |
|
void |
setIndentation(java.lang.String indentation) |
|
abstract int |
write(StringTemplate self,
StringTemplateWriter out) |
How to write this node to output; return how many char written
|
protected StringTemplate enclosingTemplate
protected java.lang.String indentation
public Expr(StringTemplate enclosingTemplate)
public abstract int write(StringTemplate self, StringTemplateWriter out) throws java.io.IOException
java.io.IOExceptionpublic StringTemplate getEnclosingTemplate()
public java.lang.String getIndentation()
public void setIndentation(java.lang.String indentation)
Copyright ? 2006-2017 Terence Parr