doc: frontend.process newConstants
This commit is contained in:
parent
681c3fb78d
commit
95503c45e4
|
@ -44,9 +44,11 @@ See `Pantograph/Protocol.lean` for a description of the parameters and return va
|
||||||
state. The user is responsible to ensure the sender/receiver instances share
|
state. The user is responsible to ensure the sender/receiver instances share
|
||||||
the same environment.
|
the same environment.
|
||||||
* `frontend.process { ["fileName": <fileName>,] ["file": <str>], invocations:
|
* `frontend.process { ["fileName": <fileName>,] ["file": <str>], invocations:
|
||||||
<bool>, sorrys: <bool> }`: Executes the Lean frontend on a file, collecting
|
<bool>, sorrys: <bool>, newConstants: <bool> }`: Executes the Lean frontend on
|
||||||
either the tactic invocations (`"invocations": true`) or the sorrys into goal
|
a file, collecting the tactic invocations (`"invocations": true`), the
|
||||||
states (`"sorrys": true`)
|
sorrys and type errors into goal states (`"sorrys": true`), and new constants
|
||||||
|
(`"newConstants": true`). In the case of `sorrys`, this command additionally
|
||||||
|
outputs the position of each captured `sorry`.
|
||||||
|
|
||||||
## Errors
|
## Errors
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue