Beispiel #1
0
 public string VisitLiteral(Expression.Literal expression)
 {
     if (expression.Value == null)
     {
         return("nil");
     }
     return(expression.Value.ToString());
 }
Beispiel #2
0
 public object VisitLiteral(Expression.Literal expression)
 {
     return(expression.Value);
 }