Handbook
Glossary
compile-children>string ( tag -- )
Furnace framework
»
Furnace presentation layer
»
Chloe templates
»
Extending Chloe
»
Extending Chloe with custom tags
Prev:
process-children ( tag quot -- )
Next:
compile-with-scope ( quot -- )
Vocabulary
html
.
templates
.
chloe
.
compiler
Inputs
tag
a
tag
Outputs
None
Word description
Compiles the tag so that the output it generates is written to a string, which is pushed on the stack when the template runs. A subsequent
[code]
call must be made with a quotation which consumes the string.
Definition
USING:
namespaces
;
IN:
html.templates.chloe.compiler
:
compile-children>string
( tag -- )
t
string-context?
[
compile-children>xml-string
]
with-variable
;