public static class Block.Reference extends java.lang.Object implements Renderable
Modifier and Type | Field and Description |
---|---|
private InternalContextAdapter |
context |
private int |
depth |
private Block |
parent |
Constructor and Description |
---|
Reference(InternalContextAdapter context,
Block parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean()
Makes #if( $blockRef ) true without rendering, so long as we aren't beyond max depth.
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer)
Render the AST of this block into the writer using the context.
|
java.lang.String |
toString() |
private InternalContextAdapter context
private Block parent
private int depth
public Reference(InternalContextAdapter context, Block parent)
context
- parent
- public boolean render(InternalContextAdapter context, java.io.Writer writer)
render
in interface Renderable
context
- writer
- public boolean getAsBoolean()
public java.lang.String toString()
toString
in class java.lang.Object