public override void Visit(RtArrayType node)
 {
     if (node == null)
     {
         return;
     }
     Visit(node.ElementType); Write("[]");
 }
Exemple #2
0
        public void CollectionsToCorrespondingArray()
        {
            var numArray = new RtArrayType(NumberType);

            GenericCollectionsOfType <int>(numArray);
            GenericCollectionsOfType <uint>(numArray);
            GenericCollectionsOfType <long>(numArray);
            GenericCollectionsOfType <ulong>(numArray);
            GenericCollectionsOfType <short>(numArray);
            GenericCollectionsOfType <ushort>(numArray);
            GenericCollectionsOfType <byte>(numArray);
            GenericCollectionsOfType <double>(numArray);
            GenericCollectionsOfType <float>(numArray);
            GenericCollectionsOfType <decimal>(numArray);
            GenericCollectionsOfType <string>(new RtArrayType(StringType));
            GenericCollectionsOfType <bool>(new RtArrayType(new RtSimpleTypeName("boolean")));
        }
Exemple #3
0
 public abstract void Visit(RtArrayType node);
 public override void Visit(RtArrayType node)
 {
     throw new NotImplementedException();
 }
Exemple #5
0
 public abstract T Visit(RtArrayType node);
Exemple #6
0
 private bool CompareArray(RtArrayType x, RtArrayType y)
 {
     return(Equals(x.ElementType, y.ElementType));
 }