caffeine_lang/parser/linker

Values

pub fn link(
  blueprint_file_path: String,
  expectations_directory: String,
) -> Result(
  List(semantic_analyzer.IntermediateRepresentation),
  errors.CompilationError,
)

Link will fetch, then parse all configuration files, combining them into one single list of intermediate representation objects. In the future how we fetch these files will change to enable fetching from remote locations, via git, etc. but for now we just support standard library artifacts, a single blueprint file, and a single expectations directory. Furthermore note that we will ignore non-json files within an org’s team’s expectation directory and incorrectly placed json files will also be ignored.

Search Document