public IPythonUnionType Add(IPythonUnionType types)
 {
     lock (_lock) {
         _types.UnionWith(types.Where(t => !this.Equals(t)));
         return(this);
     }
 }
 public IPythonUnionType Add(IPythonUnionType types)
 {
     lock (_lock) {
         _types.UnionWith(types);
         return(this);
     }
 }
 public PythonUnion(IPythonUnionType unionType, LocationInfo location = null)
     : base(unionType, location)
 {
 }
Exemplo n.º 4
0
 public IPythonUnionType Add(IPythonUnionType types) => this;
Exemplo n.º 5
0
 public PythonUnion(IPythonUnionType unionType) : base(unionType)
 {
 }