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