blob: 71692d9c808cb6785fa2737c3de98182d475729b [file] [log] [blame]
library mustache4dart;
import 'mustache_context.dart';
part 'src/mustache.dart';
part 'src/tokens.dart';
part 'src/tmpl.dart';
const EMPTY_STRING = '';
const SPACE = ' ';
const NL = '\n';
const CRNL = '\r\n';
/// Returns a StringSink, if one is passed in, otherwise returns
/// a string of the rendered template.
typedef dynamic TemplateRenderer(ctx,
{StringSink out,
bool errorOnMissingProperty,
bool assumeNullNonExistingProperty});