Esempio n. 1
0
 /// <summary>
 /// Unpacks the LValue from the result stack, if it's an LValue. Otherwise the value is returned again.
 /// </summary>
 public static object Deref( State state )
 {
     object value = state.popResult();
     if( value is LValue )
     return ((LValue)value).read( state );
     else
     return value;
 }