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