Module candid_parser::typing

source ·

Structs§

Functions§

  • Convert candid AST to internal Type
  • Type check did file including the imports.
  • Type check init args extracted from canister metadata candid:args. Need to provide main_env, because init args may refer to variables from the main did file.
  • Type check IDLProg and adds bindings to type environment. Returns the main actor if present. This function ignores the imports.