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