C# Class IronPython.Runtime.LiteralParser

Summary description for ConstantValue.
Exibir arquivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
ParseBigInteger ( string text, int b ) : BigInteger
ParseBigIntegerSign ( string text, int b ) : BigInteger
ParseComplex ( string s ) : Complex64
ParseFloat ( string text ) : double
ParseImaginary ( string text ) : Complex64
ParseInteger ( string text, int b ) : object
ParseIntegerSign ( string text, int b ) : object
ParseString ( char text, int start, int length, bool isRaw, bool isUni, bool normalizeLineEndings ) : string
ParseString ( string text, bool isRaw, bool isUni ) : string

Private Methods

Method Description
CharValue ( char ch, int b ) : int
ExnMalformed ( ) : Exception
HexValue ( char ch, int &value ) : bool
HexValue ( char ch ) : int
ParseBytes ( char text, int start, int length, bool isRaw, bool normalizeLineEndings ) : List
ParseFloatNoCatch ( string text ) : double
ParseInt ( string text, int b, int &ret ) : bool
ParseIntegerEnd ( string text, int start, int end ) : void
ParseIntegerStart ( string text, int &b, int &start, int end, short &sign ) : void
ReplaceUnicodeDigits ( string text ) : string
TryParseInt ( char text, int start, int length, int b, int &value ) : bool

Method Details

ParseBigInteger() public static method

public static ParseBigInteger ( string text, int b ) : BigInteger
text string
b int
return BigInteger

ParseBigIntegerSign() public static method

public static ParseBigIntegerSign ( string text, int b ) : BigInteger
text string
b int
return BigInteger

ParseComplex() public static method

public static ParseComplex ( string s ) : Complex64
s string
return Microsoft.Scripting.Math.Complex64

ParseFloat() public static method

public static ParseFloat ( string text ) : double
text string
return double

ParseImaginary() public static method

public static ParseImaginary ( string text ) : Complex64
text string
return Microsoft.Scripting.Math.Complex64

ParseInteger() public static method

public static ParseInteger ( string text, int b ) : object
text string
b int
return object

ParseIntegerSign() public static method

public static ParseIntegerSign ( string text, int b ) : object
text string
b int
return object

ParseString() public static method

public static ParseString ( char text, int start, int length, bool isRaw, bool isUni, bool normalizeLineEndings ) : string
text char
start int
length int
isRaw bool
isUni bool
normalizeLineEndings bool
return string

ParseString() public static method

public static ParseString ( string text, bool isRaw, bool isUni ) : string
text string
isRaw bool
isUni bool
return string