Example #1
0
 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);
		}
Example #3
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 void Reset ()
		{
			vars.Clear ();
			generatedWrappers.Clear ();
			map = new WidgetMap (vars);
			n = 0;
		}