public abstract class Expr
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|
Expr(StringTemplate enclosingTemplate) |
Modifier and Type | Method and 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.IOException
public StringTemplate getEnclosingTemplate()
public java.lang.String getIndentation()
public void setIndentation(java.lang.String indentation)
Copyright ? 2006-1970 Terence Parr