Inheritance: ModuleDefinition
Exemple #1
0
        internal protected virtual void Walk(SingletonDefinition /*!*/ node)
        {
            if (Enter(node))
            {
                if (node.QualifiedName != null)
                {
                    node.QualifiedName.Walk(this);
                }

                node.Singleton.Walk(this);

                node.Body.Walk(this);
            }
            Exit(node);
        }
Exemple #2
0
 public override void Exit(SingletonDefinition/*!*/ node)
 {
     Exit((ModuleDefinition)node);
 }
Exemple #3
0
 public override bool Enter(SingletonDefinition/*!*/ node)
 {
     string name;
     bool isSelfSingleton = IsSelfModuleReference(node.Singleton, out name);
     Debug.Assert(name != null);
     name += ".singleton";
     EnterModule(name, node, name[0] == '<', isSelfSingleton);
     return true;
 }
 public virtual void Exit(SingletonDefinition/*!*/ node) { }
 public virtual bool Enter(SingletonDefinition/*!*/ node) { return true; }
Exemple #6
0
 public virtual void Exit(SingletonDefinition /*!*/ node)
 {
 }
Exemple #7
0
 public virtual bool Enter(SingletonDefinition /*!*/ node)
 {
     return(true);
 }