Beispiel #1
0
 public override string ToString()
 {
     if (ArithmeticExpression != null)
     {
         return(ArithmeticExpression.ToString());
     }
     if (Variable != null)
     {
         return(Variable.ToString());
     }
     if (NullPointerValue != null)
     {
         return(NullPointerValue.ToString());
     }
     return(SelfObjectIdentifier.ToString());
 }
 public override string ToString()
 {
     if (IntegerVariableOrIndex != null)
     {
         return(IntegerVariableOrIndex.ToString());
     }
     if (NullPointerValue != null)
     {
         return(NullPointerValue.ToString());
     }
     if (ProgramNameOrProgramEntryVariable != null)
     {
         return(ProgramNameOrProgramEntryVariable.ToString());
     }
     if (SelfObjectIdentifier != null)
     {
         return(SelfObjectIdentifier.ToString());
     }
     return(string.Empty);
 }