public override void Visit(RtArrayType node) { if (node == null) { return; } Visit(node.ElementType); Write("[]"); }
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"))); }
public abstract void Visit(RtArrayType node);
public override void Visit(RtArrayType node) { throw new NotImplementedException(); }
public abstract T Visit(RtArrayType node);
private bool CompareArray(RtArrayType x, RtArrayType y) { return(Equals(x.ElementType, y.ElementType)); }