Inheritance: ModuleDefinition
Example #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);
        }
Example #2
0
 public override void Exit(SingletonDefinition/*!*/ node)
 {
     Exit((ModuleDefinition)node);
 }
Example #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;
 }
Example #4
0
 public virtual void Exit(SingletonDefinition/*!*/ node) { }
Example #5
0
 public virtual bool Enter(SingletonDefinition/*!*/ node) { return true; }
Example #6
0
 public virtual void Exit(SingletonDefinition /*!*/ node)
 {
 }
Example #7
0
 public virtual bool Enter(SingletonDefinition /*!*/ node)
 {
     return(true);
 }