Пример #1
0
 internal override void RemoveChild(Node child)
 {
     if (_char_literal_ == child)
     {
         _char_literal_ = null;
         return;
     }
 }
Пример #2
0
        public void SetCharLiteral(TCharLiteral node)
        {
            if (_char_literal_ != null)
            {
                _char_literal_.Parent(null);
            }

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

                node.Parent(this);
            }

            _char_literal_ = node;
        }
Пример #3
0
 public virtual void CaseTCharLiteral(TCharLiteral node)
 {
     DefaultCase(node);
 }
Пример #4
0
 public ACharConstExp(
         TCharLiteral _char_literal_
 )
 {
     SetCharLiteral(_char_literal_);
 }
Пример #5
0
 public override void CaseTCharLiteral(TCharLiteral node)
 {
     index = 99;
 }