Пример #1
0
 public override Task<object> Number(NumberLiteral numberLiteral)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 public abstract Task<object> Number(NumberLiteral numberLiteral);
Пример #3
0
 public override Task<object> Number(NumberLiteral numberLiteral)
 {
     var index = (int) numberLiteral.Value;
     var res= _array[index];
     return Task.FromResult(res);
 }
Пример #4
0
 public override Task<object> Number(NumberLiteral numberLiteral)
 {
     var res= numberLiteral.Value;
     return Task.FromResult((object) res);
 }