record Config : Type Configuration for generators.
Totality: total
Visibility: public export
Constructor: MkConfig : String -> Bool -> Bool -> String -> String -> Config
Projections:
.attributesFunc : Config -> String Name of the function used to validate the element's attributes.
.children : Config -> Bool `True` if the HTML element can have children elements.
.elemsFunc : Config -> String Name of the function used to validate the element's children.
.name : Config -> String Name of the HTML element.
.noAttributes : Config -> Bool `True` if the HTML may have no attributes.
.name : Config -> String Name of the HTML element.
Totality: total
Visibility: public exportname : Config -> String Name of the HTML element.
Totality: total
Visibility: public export.children : Config -> Bool `True` if the HTML element can have children elements.
Totality: total
Visibility: public exportchildren : Config -> Bool `True` if the HTML element can have children elements.
Totality: total
Visibility: public export.noAttributes : Config -> Bool `True` if the HTML may have no attributes.
Totality: total
Visibility: public exportnoAttributes : Config -> Bool `True` if the HTML may have no attributes.
Totality: total
Visibility: public export.attributesFunc : Config -> String Name of the function used to validate the element's attributes.
Totality: total
Visibility: public exportattributesFunc : Config -> String Name of the function used to validate the element's attributes.
Totality: total
Visibility: public export.elemsFunc : Config -> String Name of the function used to validate the element's children.
Totality: total
Visibility: public exportelemsFunc : Config -> String Name of the function used to validate the element's children.
Totality: total
Visibility: public exportdefaultConfig : Config Default configuration.
By default the configuration has:
- no name "";
- can have children `True`;
- may have no attributes `True`;
- accepts the global attributes "standard";
- accepts flow content children "flowContentElemns".
Totality: total
Visibility: exportelems : List Config List of all elements configurations.
This list is the one used to generates the various functions through elab.
Totality: total
Visibility: export