Skip to main content

selmer.parser

<

  • <<

    Resolves the variables from your template string from the local-env, or the namespace and puts them into your template...

A

C

E

  • ensure-list

    Turns the argument into a list if it isn't a list already.

  • env-map

    Puts &env into a map.

F

  • filter-tag

    Compile-time parser of var tag filters.

K

P

R

  • render

    render takes the string, the context-map and possibly also opts.

  • render-file

    Parses files if there isn't a memoized post-parse vector ready to go, renders post-parse vector with passed context-m...

  • render-template

    vector of ^selmer.node.INodes and a context map.

  • resolve-arg

    Resolves an arg as passed to an add-tag! handler using the provided context-map. A custom tag handler will receive ...

S

T

  • tag-content

    Parses the content of a tag. Returns a map of tag-name -> args & content, which can then be interpreted by the callin...

U

  • update-tags

    Assocs in the passed tag to the tags map.