drasil-srs-0.1.26.0: A framework for code and document generation for scientific software - SRS Language SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.SRS.GetChunks

Description

Utilities to get grab certain chunks (from Expr, Sentence, etc) by UID and dereference the chunk it refers to.

Synopsis

Documentation

resolveAllVars :: [Sentence] -> [ModelExpr] -> ChunkDB -> [DefinedQuantityDict] Source #

Extract and resolve all references to DefinedQuantityDicts in a list of Sentences and a list of ModelExprs.

vars :: ModelExpr -> ChunkDB -> [DefinedQuantityDict] Source #

Extract and resolve all referenced DefinedQuantityDicts in a ModelExpr.