Exemple #1
0
        internal RuntimeScopeBlock PopBlock()
        {
            var tree = m_ScopeTreeHead;

            m_ScopeTreeHead.ResolveGotos();

            m_ScopeTreeHead = m_ScopeTreeHead.Parent;

            if (m_ScopeTreeHead == null)
            {
                throw new InternalErrorException("Can't pop block - stack underflow");
            }

            return(tree.ScopeBlock);
        }
Exemple #2
0
        internal void ResolveLRefs()
        {
            m_ScopeTreeRoot.ResolveGotos();

            m_ScopeTreeRoot.ResolveLRefs(this);
        }