public void Reset()
 {
     vars.Clear();
     generatedWrappers.Clear();
     map = new WidgetMap(vars);
     n   = 0;
 }
		public GeneratorContext (CodeNamespace cns, string idPrefix, CodeStatementCollection statements, GenerationOptions options)
		{
			this.cns = cns;
			this.idPrefix = idPrefix;
			this.statements = statements;
			this.options = options;
			map = new WidgetMap (vars);
		}
 public GeneratorContext(CodeNamespace cns, string idPrefix, CodeStatementCollection statements, GenerationOptions options)
 {
     this.cns        = cns;
     this.idPrefix   = idPrefix;
     this.statements = statements;
     this.options    = options;
     map             = new WidgetMap(vars);
 }
		public void Reset ()
		{
			vars.Clear ();
			generatedWrappers.Clear ();
			map = new WidgetMap (vars);
			n = 0;
		}