Example #1
0
 public CompoundFactory add(IDSLFactory factory)
 {
     _factories.Add(factory);
     return(this);
 }
Example #2
0
 public CompoundFactory add(IDSLFactory factory)
 {
     _factories.Add(factory);
     return this;
 }
Example #3
0
 public static SyntaxTree Compile(string code, IDSLFactory factory, out ExcessContext ctx, string file = null)
 {
     ctx = new ExcessContext(factory);
     return(Compile(ctx, code, file));
 }
Example #4
0
 public SimpleFactory AddFactory(IDSLFactory factory)
 {
     _factories.Add(factory);
     return(this);
 }
Example #5
0
 public ExcessContext(IDSLFactory factory)
 {
     _dslFactory = factory;
     _usings     = new List <string>();
     _usings.AddRange(new [] { "System", "System.Collections", "System.Collections.Generic" });
 }