示例#1
0
        private DefinitionState(DefinitionState oldState, bool isLazy)
        {
            _isLazy = true;

            _quercus  = oldState._quercus;
            _isStrict = oldState._isStrict;

            _funMap      = oldState._funMap;
            _lowerFunMap = oldState._lowerFunMap;

            _classDefMap      = oldState._classDefMap;
            _lowerClassDefMap = oldState._lowerClassDefMap;

            _crc = oldState._crc;
        }
示例#2
0
        private DefinitionState(DefinitionState oldState)
        {
            this(oldState._quercus);

            _funMap.putAll(oldState._funMap);

            if (_lowerFunMap != null)
            {
                _lowerFunMap.putAll(oldState._lowerFunMap);
            }

            _classDefMap.putAll(oldState._classDefMap);

            if (_lowerClassDefMap != null)
            {
                _lowerClassDefMap.putAll(oldState._lowerClassDefMap);
            }

            _crc = oldState._crc;
        }