Example #1
0
        public void VisitDTuple(DTuple t)
        {
            sb.Append('(');

            if (t.Items != null && t.Items.Length != 0)
            {
                foreach (var i in t.Items)
                {
                    if (i is AbstractType)
                    {
                        AcceptType(i as AbstractType);
                    }
                    sb.Append(',');
                }
                if (sb[sb.Length - 1] == ',')
                {
                    sb.Length--;
                }
            }

            sb.Append(")");
        }
		public void VisitDTuple(DTuple t)
		{
			sb.Append('(');

			if (t.Items != null && t.Items.Length != 0)
			{
				foreach (var i in t.Items)
				{
					if(i is AbstractType)
						AcceptType(i as AbstractType);
					sb.Append(',');
				}
				if (sb[sb.Length - 1] == ',')
					sb.Length--;
			}

			sb.Append(")");
		}
 public void VisitDTuple(DTuple tps)
 {
     GenUfcsAndStaticProperties(tps);
 }
Example #4
0
 public ITypeDeclaration VisitDTuple(DTuple t)
 {
     return(null);
 }