C# Class IronRuby.JsonExt.Helpers

显示文件 Open project: nrk/ironruby-json

Public Methods

Method Description
GetMessageForException ( String source, int p, int pe ) : String
IsJsonClass ( Hash hash ) : bool
ThrowNestingException ( String message ) : void
ThrowParserException ( String message ) : void
ToFloat ( String str ) : Object
ToInteger ( String str ) : Object

Private Methods

Method Description
GetModule ( IronRuby.Runtime.RubyScope scope, String className ) : RubyModule
InitializeGeneratorStateKey ( RubyContext context ) : RubySymbol>.IDictionary

Method Details

GetMessageForException() public static method

public static GetMessageForException ( String source, int p, int pe ) : String
source String
p int
pe int
return String

IsJsonClass() public static method

public static IsJsonClass ( Hash hash ) : bool
hash Hash
return bool

ThrowNestingException() public static method

public static ThrowNestingException ( String message ) : void
message String
return void

ThrowParserException() public static method

public static ThrowParserException ( String message ) : void
message String
return void

ToFloat() public static method

public static ToFloat ( String str ) : Object
str String
return Object

ToInteger() public static method

public static ToInteger ( String str ) : Object
str String
return Object