public NameRegistry(bool shadowing) { this.bag = LayerDictionary.Create <ITemplateName, LocalInfo>(shadowing, EntityNameArityComparer.Instance); this.scopes = new Stack <IScope>(); }
public VariableRegistry(bool shadowing) { this.bag = LayerDictionary.Create <IOwnedNode, ObjectData>(shadowing, ReferenceEqualityComparer <IOwnedNode> .Instance); }