Exemplo n.º 1
0
 // Debugging helper to print the current context
 public virtual void Dump()
 {    
     Console.WriteLine("*** Dump of current SemanticChecker state [");
     m_CurrentContext.DumpTree();
     m_CurrentContext.DumpKeys();
     Console.WriteLine("Current class:{0}", 
         (m_curClass == null) ? "null" : m_curClass.ToString());
     Console.WriteLine("Current method:{0}", 
         (m_curMethod == null) ? "null" : m_curMethod.PrettyDecoratedName);
     Console.WriteLine("]");        
 }
Exemplo n.º 2
0
 public override void Dump(XmlWriter o)
 {
     o.WriteStartElement(this.GetType().ToString());
     
     TypeEntry t = BlueType;
     o.WriteAttributeString("BlueType", t.ToString());
     
     System.Type t2 = CLRType;
     o.WriteAttributeString("CLRType", t2.ToString());
             
     o.WriteEndElement();
 }
Exemplo n.º 3
0
        // Write out this Entry's name, attributes, (and if fRecursive, then nested scope too)
        public override void Dump(XmlWriter o, bool fRecursive)
        {
            o.WriteStartElement("PropertyExpEntry");
            o.WriteAttributeString("name", m_strName);
            o.WriteAttributeString("type", (m_type == null) ? "null" : m_type.ToString());
            o.WriteAttributeString("class", (m_tClassDefined == null) ? "null" : m_tClassDefined.ToString());

            o.WriteAttributeString("HasGet", (m_symbolGet != null) ? "true" : "false");
            o.WriteAttributeString("HasSet", (m_symbolSet != null) ? "true" : "false");

            o.WriteAttributeString("Imported", (Node == null) ? "true" : "false");

            o.WriteEndElement();
        }
Exemplo n.º 4
0
 public override string ToString()
 {
     return("FieldExp:" + m_tClassDefined.ToString() + "." + m_strName);
 }