Esempio n. 1
0
 /// <summary>
 /// Retrieves the value of the expression
 /// </summary>
 /// <param name="evalContext">Evaluation context</param>
 /// <returns>Evaluated expression value</returns>
 public override ExpressionValue Evaluate(IEvaluationContext evalContext)
 {
     return(new ExpressionValue(evalContext.GetCurrentAddress()));
 }
Esempio n. 2
0
 /// <summary>
 /// Retrieves the value of the expression
 /// </summary>
 /// <param name="evalContext">Evaluation context</param>
 /// <returns>Evaluated expression value</returns>
 public override ushort Evaluate(IEvaluationContext evalContext)
 {
     return(evalContext.GetCurrentAddress());
 }