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