bdarcus / csln

Reimagining CSL
Mozilla Public License 2.0
13 stars 0 forks source link

Add `Processor::render` method #16

Closed bdarcus closed 1 year ago

bdarcus commented 1 year ago

Add methods:

to_string for:

render:

Take a StyleTemplateComponent and a Reference and it's associated ProcHints, and return the correct string.

For example, if the component is a StyleTemplateDate, use Date.to_string for the value of that date field.

Return a vector of ProcTemplateComponent.