File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1465,7 +1465,7 @@ inductive OLeanLevel where
14651465 | server
14661466 /-- Private module data. -/
14671467 | «private »
1468- deriving DecidableEq, Ord
1468+ deriving DecidableEq, Ord, Repr
14691469
14701470instance : LE OLeanLevel := leOfOrd
14711471instance : LT OLeanLevel := ltOfOrd
@@ -1524,8 +1524,11 @@ structure PersistentEnvExtension (α : Type) (β : Type) (σ : Type) where
15241524 Function to transform state into data that should be imported into other modules. When using the
15251525 module system without `import all`, `OLeanLevel.exported` is imported, else `OLeanLevel.private`.
15261526 Additionally, when using the module system in the language server, the `OLeanLevel.server` data is
1527- accessible via `getModuleEntries (level := .server)`. Each level should include all data of
1528- previous levels.
1527+ accessible via `getModuleEntries (level := .server)`. By convention, each level should include all
1528+ data of previous levels.
1529+
1530+ This function is run after elaborating the file and joining all asynchronous threads. It is run
1531+ once for each level when the module system is enabled, otherwise once for `private`.
15291532 -/
15301533 exportEntriesFn : Environment → σ → OLeanLevel → Array α
15311534 statsFn : σ → Format
You can’t perform that action at this time.
0 commit comments