C# Class IronPython.Modules.PythonImport

Mostrar archivo Open project: jschementi/iron

Public Methods

Method Description
acquire_lock ( CodeContext context ) : void
find_module ( CodeContext context, string name ) : PythonTuple
find_module ( CodeContext context, string name, List path ) : PythonTuple
get_frozen_object ( string name ) : object
get_magic ( ) : string
get_suffixes ( ) : List
init_builtin ( CodeContext context, string name ) : object
init_frozen ( string name ) : object
is_builtin ( CodeContext context, string name ) : int
is_frozen ( string name ) : bool
load_compiled ( string name, string pathname ) : object
load_compiled ( string name, string pathname, IronPython.Runtime.PythonFile file ) : object
load_dynamic ( string name, string pathname ) : object
load_dynamic ( string name, string pathname, IronPython.Runtime.PythonFile file ) : object
load_module ( CodeContext context, string name, IronPython.Runtime.PythonFile file, string filename, PythonTuple description ) : object
load_package ( CodeContext context, string name, string pathname ) : object
load_source ( CodeContext context, string name, string pathname ) : object
load_source ( CodeContext context, string name, string pathname, IronPython.Runtime.PythonFile file ) : object
lock_held ( CodeContext context ) : bool
release_lock ( CodeContext context ) : void
reload ( CodeContext context, PythonModule scope ) : object

Private Methods

Method Description
BuiltinModuleTuple ( string name ) : PythonTuple
CreateEmptyPackage ( CodeContext context, string name, string pathname ) : PythonModule
FindBuiltinOrSysPath ( CodeContext context, string name ) : PythonTuple
FindModuleBuiltinOrPath ( CodeContext context, string name, List path ) : PythonTuple
FindModulePath ( CodeContext context, string name, List path ) : PythonTuple
GetLockCount ( CodeContext context ) : long
LoadBuiltinModule ( CodeContext context, string name ) : object
LoadPackageDirectory ( IronPython.Runtime.PythonContext context, string moduleName, string path ) : PythonModule
LoadPythonSource ( IronPython.Runtime.PythonContext context, string name, IronPython.Runtime.PythonFile file, string fileName ) : PythonModule
PerformModuleReload ( IronPython.Runtime.PythonContext context, PythonDictionary dict ) : void
SetLockCount ( CodeContext context, long lockCount ) : void
new_module ( CodeContext context, string name ) : PythonModule

Method Details

acquire_lock() public static method

public static acquire_lock ( CodeContext context ) : void
context CodeContext
return void

find_module() public static method

public static find_module ( CodeContext context, string name ) : PythonTuple
context CodeContext
name string
return PythonTuple

find_module() public static method

public static find_module ( CodeContext context, string name, List path ) : PythonTuple
context CodeContext
name string
path List
return PythonTuple

get_frozen_object() public static method

public static get_frozen_object ( string name ) : object
name string
return object

get_magic() public static method

public static get_magic ( ) : string
return string

get_suffixes() public static method

public static get_suffixes ( ) : List
return List

init_builtin() public static method

public static init_builtin ( CodeContext context, string name ) : object
context CodeContext
name string
return object

init_frozen() public static method

public static init_frozen ( string name ) : object
name string
return object

is_builtin() public static method

public static is_builtin ( CodeContext context, string name ) : int
context CodeContext
name string
return int

is_frozen() public static method

public static is_frozen ( string name ) : bool
name string
return bool

load_compiled() public static method

public static load_compiled ( string name, string pathname ) : object
name string
pathname string
return object

load_compiled() public static method

public static load_compiled ( string name, string pathname, IronPython.Runtime.PythonFile file ) : object
name string
pathname string
file IronPython.Runtime.PythonFile
return object

load_dynamic() public static method

public static load_dynamic ( string name, string pathname ) : object
name string
pathname string
return object

load_dynamic() public static method

public static load_dynamic ( string name, string pathname, IronPython.Runtime.PythonFile file ) : object
name string
pathname string
file IronPython.Runtime.PythonFile
return object

load_module() public static method

public static load_module ( CodeContext context, string name, IronPython.Runtime.PythonFile file, string filename, PythonTuple description ) : object
context CodeContext
name string
file IronPython.Runtime.PythonFile
filename string
description PythonTuple
return object

load_package() public static method

public static load_package ( CodeContext context, string name, string pathname ) : object
context CodeContext
name string
pathname string
return object

load_source() public static method

public static load_source ( CodeContext context, string name, string pathname ) : object
context CodeContext
name string
pathname string
return object

load_source() public static method

public static load_source ( CodeContext context, string name, string pathname, IronPython.Runtime.PythonFile file ) : object
context CodeContext
name string
pathname string
file IronPython.Runtime.PythonFile
return object

lock_held() public static method

public static lock_held ( CodeContext context ) : bool
context CodeContext
return bool

release_lock() public static method

public static release_lock ( CodeContext context ) : void
context CodeContext
return void

reload() public static method

public static reload ( CodeContext context, PythonModule scope ) : object
context CodeContext
scope IronPython.Runtime.PythonModule
return object