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; }
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); }
public BlockScope(LocalScope Parent) : base(Parent) { Save = Parent.OnDateType.ToDictionary(x => x.Key, x => x.Value.ToList()); this.OnDateType = Parent.OnDateType; }