◆ 
				
			
			Init()
		
		
	
	
		- 
			参数
		
- 
			
				
					| [in] | runtimeInfo | Information about the virtual machine, how to start it up. |  
					| [in] | settings | Optional settings which might be needed by the virtual machine. |  
 
		- 
			返回
		
- 
			OK on success.
		
	
		◆ 
	
Free()
Frees and shuts down the virtual machine. Should never be called on virtual machines which are owned by the system.
	
		◆ 
	
CreateScope()
Creates a virtual machine scope. The scope must be deleted before the virtual machine will be shutdown.
- 
	返回
- 
	New virtual machine scope.
◆ 
GetName()
Returns the name of the underlying library, e.g. "Python".
- 
返回
- 
Name of the virtual machine.
◆ 
GetVersion()
Returns the human readable version string of the underlying library.
- 
返回
- 
Version details.
◆ 
GetCopyright()
Returns the human readable copyright information of the underlying library.
- 
返回
- 
Copyright text.
◆ 
GetCompiler()
Returns a human readable compiler info text.
- 
返回
- 
Compiler which got used to compile the underlying library.
◆ 
GetBuildInfo()
Returns a human readable build information.
- 
返回
- 
Build info with information about the build.
◆ 
EnterInteractiveMode()
Enters the interactive mode of the virtual machine.
- 
返回
- 
OK after the interactive mode was left, or FunctionNotImplementedError
◆ 
Execute()
[1/2]
Executes a given code in the global scope of the virtual machine.
- 
参数
- 
| [in] | code | Code to execute. |  
 
- 
返回
- 
Returns an error if an error occurred. Virtual machine clears all error states when function returns.
◆ 
Execute()
[2/2]
Executes a given file in the global scope of the virtual machine.
- 
参数
- 
| [in] | filepath | Path of file to execute. |  
 
- 
返回
- 
Returns an error if an error occurred. Virtual machine clears all error states when function returns.
◆ 
ExecuteModule()
Executes a given module in the virtual machine.
- 
参数
- 
| [in] | name | Name of the module. |  
 
- 
返回
- 
Returns an error if an error occurred. Virtual machine clears all error states when function returns.
◆ 
GetDocumentString()
Returns docstrings of a given code.
- 
参数
- 
| [in] | code | String
code. |  
| [out] | meta | Returns the docstrings. |  
 
- 
返回
- 
Returns OK if the extraction succeeded, otherwise None.
◆ 
GetLibraryRef()
Returns the underlying library.
- 
返回
- 
Underlying virtual machine library.
◆ 
GetAllAvailableVirtualMachineLibraries()
Returns all available virtual machine libraries.
- 
返回
- 
An array of available virtual machines libraries.