public TemplateCodeGen(String TemplateString, TemplateFactory TemplateFactory = null) { this.TemplateFactory = TemplateFactory; this.Tokens = new TokenReader(TemplateTokenizer.Tokenize(new TokenizerStringReader(TemplateString))); }
public TemplateParser(TokenReader Tokens, TextWriter TextWriter) { this.Tokens = Tokens; this.TextWriter = TextWriter; this.Blocks = new Dictionary<string, ParserNode>(); }