refining the readme
This commit is contained in:
1 parent
62461c09cc
commit
299738cffd
2 files changed
+16
-8
No files matched your search
@@ -29,6 +29,11 @@ class Script(
|
||||
|
||||
companion object {
|
||||
|
||||
/**
|
||||
* Create new scope using standard safe set of modules, using [defaultImportManager]. It is
|
||||
* suspended as first time calls requires compilation of standard library or other
|
||||
* asynchronous initialization.
|
||||
*/
|
||||
suspend fun newScope(pos: Pos = Pos.builtIn) = defaultImportManager.newStdScope(pos)
|
||||
|
||||
internal val rootScope: Scope = Scope(null).apply {
|
||||
|
||||
Reference in new issue
Block a user