Handbook
Glossary
print-element ( element -- )
Factor handbook
»
Developer tools
»
Help system
»
Writing documentation
»
Printing markup elements
Next:
print-content ( element -- )
Vocabulary
help
.
markup
Inputs
element
a markup element
Outputs
None
Word description
Prints a markup element to
output-stream
.
Definition
IN:
help.markup
GENERIC:
print-element
( element -- )
Methods
USING:
arrays
combinators
help.markup
sequences
;
M:
array
print-element
unclip
( arg -- )
execute-effect
;
USING:
effects
help.markup
;
M:
effect
print-element
effect>string
print-element
;
USING:
help.markup
kernel
;
M:
f
print-element
drop
;
USING:
help.markup
sequences
;
M:
simple-element
print-element
[
print-element
]
each
;
USING:
help.markup
io
strings
;
M:
string
print-element
[
write
]
($span)
;
USING:
combinators
help.markup
kernel
words
;
M:
word
print-element
{
}
swap
( arg -- )
execute-effect
;