示例#1
0
        public Main operator_work(Quoted_String visitor_1, Int visitor_2)
        {
            Quoted_String result_visitor = new Quoted_String();

            result_visitor.set_value(visitor_1.value + visitor_2.value);
            return(result_visitor);
        }
示例#2
0
        public Main operator_work(Quoted_String visitor_1, Decimal visitor_2)
        {
            Quoted_String result_visitor = new Quoted_String();

            result_visitor.set_value(visitor_1.value.Replace(visitor_2.value.ToString(), ""));
            return(result_visitor);
        }
示例#3
0
        public Main operator_work(Quoted_String visitor_1, Int visitor_2)
        {
            Quoted_String result_visitor = new Quoted_String();

            result_visitor.set_value(String.Concat(Enumerable.Repeat(visitor_1.value, visitor_2.value)));
            return(result_visitor);
        }