blob: 2555bf67eb2e267bdac38e161e34b5371f35f8f5 [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});