Skip to main content

Module env

Module env 

Source
Expand description

What the checker knows while it walks a body: locals in scope, what context it is in, and which state the code it has seen reads and writes.

StructsΒ§

Body πŸ”’
One function, view or window body: its locals and the scopes that name them.
Effects πŸ”’
State reads and writes seen so far, and the functions called (whose effects count too).
FnEffects πŸ”’
Every function’s reads and writes, including those of the functions it calls.
LocalInfo πŸ”’

EnumsΒ§

Context πŸ”’
What kind of code is being checked, which decides what it may do.
LocalKind πŸ”’