Ejemplo n.º 1
0
 public LocalScope Copy()
 {
     LocalScope Ret = new LocalScope();
     Ret.ScopeVariables = this.ScopeVariables.ToList();
     Ret.OnDateType = this.OnDateType.ToDictionary(x => x.Key, x => x.Value);
     Ret.Parent = this.Parent;
     return Ret;
 }
Ejemplo n.º 2
0
        public LocalScope Copy()
        {
            LocalScope Ret = new LocalScope();

            Ret.ScopeVariables = this.ScopeVariables.ToList();
            Ret.OnDateType     = this.OnDateType.ToDictionary(x => x.Key, x => x.Value);
            Ret.Parent         = this.Parent;
            return(Ret);
        }
Ejemplo n.º 3
0
 public BlockScope(LocalScope Parent)
     : base(Parent)
 {
     Save            = Parent.OnDateType.ToDictionary(x => x.Key, x => x.Value.ToList());
     this.OnDateType = Parent.OnDateType;
 }
Ejemplo n.º 4
0
 public BlockScope(LocalScope Parent)
     : base(Parent)
 {
     Save = Parent.OnDateType.ToDictionary(x => x.Key, x => x.Value.ToList());
     this.OnDateType = Parent.OnDateType;
 }