예제 #1
0
 internal override void RemoveChild(Node child)
 {
     if (_token_ == child)
     {
         _token_ = null;
         return;
     }
     if (_bank_ == child)
     {
         _bank_ = null;
         return;
     }
     if (_player_ == child)
     {
         _player_ = null;
         return;
     }
 }
예제 #2
0
        public void SetToken(TPreloadBank node)
        {
            if (_token_ != null)
            {
                _token_.Parent(null);
            }

            if (node != null)
            {
                if (node.Parent() != null)
                {
                    node.Parent().RemoveChild(node);
                }

                node.Parent(this);
            }

            _token_ = node;
        }
예제 #3
0
 public virtual void CaseTPreloadBank(TPreloadBank node)
 {
     DefaultCase(node);
 }
예제 #4
0
 public APreloadBankDecl(
         TPreloadBank _token_,
         TStringLiteral _bank_,
         PExp _player_
 )
 {
     SetToken(_token_);
     SetBank(_bank_);
     SetPlayer(_player_);
 }
예제 #5
0
 public override void CaseTPreloadBank(TPreloadBank node)
 {
     index = 22;
 }