Пример #1
0
 public WriterContext(TypeSet set, FlexWriter writer, ScopeStack globals)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     if (writer == null)
     {
         throw new ArgumentNullException(nameof(writer));
     }
     if (globals == null)
     {
         throw new ArgumentNullException(nameof(globals));
     }
     Types  = set;
     Writer = writer;
     Scope  = globals;
 }
Пример #2
0
 public WriterContext(TypeSet set, FlexWriter writer)
     : this(set, writer, new ScopeStack())
 {
 }