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);
 }
Beispiel #3
0
 public Value(NullPointerValue value)
 {
     LiteralType      = ValueLiteralType.NullPointer;
     NullPointerValue = value;
 }
Beispiel #4
0
 public ConditionOperand(NullPointerValue nullPointerValue) :
     base(ExpressionNodeType.ConditionOperand)
 {
     NullPointerValue = nullPointerValue;
 }
Beispiel #5
0
 public virtual bool Visit(NullPointerValue nullPointerValue)
 {
     return(true);
 }