예제 #1
0
 public override EcmaValue ToNumber(string value)
 {
     return(EcmaValueUtility.ParseStringNumericLiteral(value));
 }
예제 #2
0
 public override int ToInt32(string value)
 {
     return(EcmaValueUtility.ParseStringNumericLiteral(value).ToInt32());
 }
예제 #3
0
 public override long ToInt64(string value)
 {
     return(EcmaValueUtility.ParseStringNumericLiteral(value).ToInt64());
 }
예제 #4
0
 public override double ToDouble(string value)
 {
     return(EcmaValueUtility.ParseStringNumericLiteral(value).ToDouble());
 }