Ejemplo n.º 1
0
        public override string ToString()
        {
            var a = (OwnerName == null ? OwnerType.ToPrettyString() : O_BRACKET + OwnerName + C_BRACKET)
                    + DOT + Variable.Name;

            return(a + (Type == VariableType.Array && ArrayIndices != null
                    ? O_BRACKET + String.Join(COMMA_S, ArrayIndices.Select(e => e.ToString())) + C_BRACKET
                    : Type.ToPrettyString()));
        }
Ejemplo n.º 2
0
 public override string ToString() => base.ToString() + SR.SPACE_S + (InstanceName ?? InstanceType.ToPrettyString()) + SR.COLON + TargetVariable + VariableType.ToPrettyString();
Ejemplo n.º 3
0
 public override string ToString() => OpCode + SR.SPACE_S + Type.ToPrettyString() + SR.SPACE_S + (InstanceName == null ? InstanceType.ToPrettyString() : InstanceName) + SR.COLON + VariableName + VariableType.ToPrettyString();