Beispiel #1
0
        internal SymbolRef TryDefineLocal(string name)
        {
            if (m_ScopeTreeHead.Find(name) != null)
            {
                m_ScopeTreeHead.Rename(name);
            }

            return(m_ScopeTreeHead.Define(name));
        }
Beispiel #2
0
 internal SymbolRef TryDefineLocal(string name)
 {
     return(m_ScopeTreeHead.Find(name) ?? m_ScopeTreeHead.Define(name));
 }