示例#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;
        }
 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;
 }