drasil-code-0.1.9.0: A framework for code and document generation for scientific software - Code SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.Chunk.NamedArgument

Description

Named arguments used in generating code.

Synopsis

Chunk Type

newtype NamedArgument Source #

Any quantity can be a named argument (wrapper for QuantityDict), but with more of a focus on generating code arguments.

Constructors

NA 

Fields

Instances

Instances details
Idea NamedArgument Source #

Finds the idea contained in the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

NamedIdea NamedArgument Source #

Finds the term (NP) of the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

Methods

term :: Lens' NamedArgument NP #

MayHaveUnit NamedArgument Source #

Finds the units of the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

IsArgumentName NamedArgument Source #

NamedArguments have an argument name.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

Quantity NamedArgument Source #

NamedArguments have a Quantity.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

HasSpace NamedArgument Source #

Finds the Space of the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

Methods

typ :: Getter NamedArgument Space #

HasSymbol NamedArgument Source #

Finds the Symbol of the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

HasUID NamedArgument Source #

Finds the UID of the QuantityDict used to make the NamedArgument.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

Methods

uid :: Getter NamedArgument UID #

Eq NamedArgument Source #

Equal if UIDs are equal.

Instance details

Defined in Language.Drasil.Chunk.NamedArgument

Constructor

narg :: (Quantity q, MayHaveUnit q) => q -> NamedArgument Source #

Smart constructor for NamedArgument .