Expand description
Semantic resolver (name resolution, type checking and lowering to RQ)
Modules§
Structs§
Constants§
- NS_
DEFAULT_ DB - NS_
GENERIC - NS_
INFER - NS_
INFER_ MODULE - NS_MAIN
- NS_
PARAM - NS_
QUERY_ DEF - NS_SELF
- NS_STD
- NS_THAT
- NS_THIS
Functions§
- eval
- is_
ident_ or_ func_ call - load_
std_ lib - Preferred way of injecting std module.
- lower_
to_ ir - Convert a resolved expression at path
main_path
relative toroot_mod
into RQ and make sure that: - resolve
- Runs semantic analysis on the query.
- resolve_
and_ lower - Runs semantic analysis on the query and lowers PL to RQ.
- static_
eval - write_
pl - Write a PL IR to string.