Exemplo n.º 1
0
        // This class should never be created on its own.
        protected SymFactoryBase(SYMTBL symtable, NameManager namemgr)
        {
            m_pSymTable = symtable;

            if (namemgr != null)
            {
                m_pMissingNameNode = namemgr.GetPredefName(PredefinedName.PN_MISSING);
                m_pMissingNameSym  = namemgr.GetPredefName(PredefinedName.PN_MISSINGSYM);
            }
        }
 public static Name GetMethodName(NameManager namemgr, OperatorKind op)
 {
     Debug.Assert(HasMethodName(op));
     return(namemgr.GetPredefName(GetMethodName(op)));
 }