abstract class Marten::Template::Node::Base

Overview

The node abstract base class.

A template node is the result of the template parsing process and is able to be rendered in order to produce a specific output (depending on the type of node).

Direct Known Subclasses

Defined in:

marten/template/node/base.cr

Instance Method Summary

Instance Method Detail

abstract def render(context : Context) : String #

Given a Marten::Template::Context object, generates a String output.


[View source]