public class RootNode extends Node
| Constructor and Description |
|---|
RootNode(ResourcePointer ptr) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(CarrotEngine engine,
java.io.Writer writer,
Scope scope)
Render this node to the given
Writer. |
add, canChain, chain, getChildren, getNextNode, getPointer, isBlockNode, renderChildrenpublic RootNode(ResourcePointer ptr)
public void render(CarrotEngine engine, java.io.Writer writer, Scope scope) throws CarrotException, java.io.IOException
NodeWriter.render in class Nodeengine - The CarrotEngine we're running inside of.writer - The Writer to write this node to.scope - The current Scope, containing all our variables.CarrotException - if there's an error parsing or rendering the node.java.io.IOException - if there's an error writing to the Writer.