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