Expand description
Helper functions for extending the compiler with more linter-like functionality while compiling (i.e. smarter warnings).
Enums§
- LitBool 🔒
Functions§
- is_
lit_ 🔒bool - Is this a literal boolean, or something else?
- optimise_
bin_ 🔒op - Detect useless binary operations (i.e. useless bool comparisons).
- optimise_
expr 🔒 - Optimise the given expression where possible.