示例#1
0
        public void EvalBase64(RCRunner runner, RCClosure closure, RCString right)
        {
            string result = Convert.ToBase64String(Encoding.UTF8.GetBytes(right[0]));

            runner.Yield(closure, new RCString(result));
        }
示例#2
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCLong left, RCLong right)
 {
     runner.Yield(closure, new RCLong(DoInter <long> (left, right)));
 }
示例#3
0
 public void EvalWhere(RCRunner runner, RCClosure closure, RCDouble left, RCBoolean right)
 {
     runner.Yield(closure, DoWhere <double> (left, right));
 }
示例#4
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCByte left, RCByte right)
 {
     runner.Yield(closure, new RCByte(DoInter <byte> (left, right)));
 }
示例#5
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCSymbol left, RCSymbol right)
 {
     runner.Yield(closure, new RCSymbol(DoInter <RCSymbolScalar> (left, right)));
 }
示例#6
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCDouble left, RCByte right)
 {
     runner.Yield(closure, DoAt <double> (closure, left, right));
 }
示例#7
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCDouble left, RCDouble right)
 {
     runner.Yield(closure, new RCDouble(DoInter <double> (left, right)));
 }
示例#8
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCBlock left, RCSymbol right)
 {
     runner.Yield(closure, DoAt(closure, left, right));
 }
示例#9
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCLong left, RCByte right)
 {
     runner.Yield(closure, DoAt <byte> (closure, right, left));
 }
示例#10
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCByte left, RCLong right)
 {
     runner.Yield(closure, DoAt <byte> (closure, left, right));
 }
示例#11
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCTime left, RCByte right)
 {
     runner.Yield(closure, DoAt <RCTimeScalar> (closure, left, right));
 }
示例#12
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCSymbol left, RCDecimal right)
 {
     runner.Yield(closure, DoAt <RCSymbolScalar> (closure, left, right));
 }
示例#13
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCString left, RCByte right)
 {
     runner.Yield(closure, DoAt <string> (closure, left, right));
 }
示例#14
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCDecimal left, RCDouble right)
 {
     runner.Yield(closure, DoAt <decimal> (closure, left, right));
 }
示例#15
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCSymbol left, RCBlock right)
 {
     runner.Yield(closure, DoAt(closure, right, left));
 }
示例#16
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCByte left, RCBoolean right)
 {
     runner.Yield(closure, DoAt <bool> (closure, right, left));
 }
示例#17
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCBoolean left, RCByte right)
 {
     runner.Yield(closure, DoAt <bool> (closure, left, right));
 }
示例#18
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCByte left, RCDouble right)
 {
     runner.Yield(closure, DoAt <double> (closure, right, left));
 }
示例#19
0
 public void EvalOperator(RCRunner runner, RCClosure closure, RCLong left, RCDecimal right)
 {
     runner.Yield(closure, DoAt <long> (closure, left, right));
 }
示例#20
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCDecimal left, RCLong right)
 {
     runner.Yield(closure, DoAt <long> (closure, right, left));
 }
示例#21
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCDecimal left, RCDecimal right)
 {
     runner.Yield(closure, new RCDecimal(DoInter <decimal> (left, right)));
 }
示例#22
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCByte left, RCDecimal right)
 {
     runner.Yield(closure, DoAt <decimal> (closure, right, left));
 }
示例#23
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCBoolean left, RCBoolean right)
 {
     runner.Yield(closure, new RCBoolean(DoInter <bool> (left, right)));
 }
示例#24
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCByte left, RCString right)
 {
     runner.Yield(closure, DoAt <string> (closure, right, left));
 }
示例#25
0
 public void EvalInter(RCRunner runner, RCClosure closure, RCTime left, RCTime right)
 {
     runner.Yield(closure, new RCTime(DoInter <RCTimeScalar> (left, right)));
 }
示例#26
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCDecimal left, RCSymbol right)
 {
     runner.Yield(closure, DoAt <RCSymbolScalar> (closure, right, left));
 }
示例#27
0
 public void EvalWhere(RCRunner runner, RCClosure closure, RCLong left, RCBoolean right)
 {
     runner.Yield(closure, DoWhere <long> (left, right));
 }
示例#28
0
 public void EvalFrom(RCRunner runner, RCClosure closure, RCByte left, RCTime right)
 {
     runner.Yield(closure, DoAt <RCTimeScalar> (closure, right, left));
 }
示例#29
0
 public void EvalWhere(RCRunner runner, RCClosure closure, RCDecimal left, RCBoolean right)
 {
     runner.Yield(closure, DoWhere <decimal> (left, right));
 }
示例#30
0
 public void EvalAscii(RCRunner runner, RCClosure closure, RCString right)
 {
     byte[] result = Encoding.ASCII.GetBytes(right[0]);
     runner.Yield(closure, new RCByte(result));
 }