Node
struct defined in module
Pollen
Node(tag, children...; attributes...)
A non-leaf node in an
XTree. It has a tag, can hold a number of children nodes and key-value attributes.
You can access and modify these using
Node
(
:
paragraph
,
"
I am a sentence
"
,
"
This one is short
"
;
class
=
"
tight
"
)
# Equivalently
Node
(
:
paragraph
,
[
"
I am a sentence
"
,
"
This one is short
"
]
,
Dict
(
:
class
=>
"
tight
"
)
)There are
4
methods for Pollen.Node:
The following pages link back here:
Pollen.jl , formats/format.jl , formats/html.jl , formats/json.jl , formats/juliasyntax.jl , formats/jupyter.jl , formats/markdown.jl , project.jl , rewriters.jl , rewriters/documentfolder.jl , rewriters/documenttree.jl , rewriters/docversions.jl , rewriters/executecode.jl , rewriters/modulereference.jl , rewriters/parsecode.jl , rewriters/resolvereferences.jl , rewriters/sourcefiles.jl , rewriters/staticassets.jl , rewriters/storkindex.jl , serve/events.jl , serve/server.jl , xtree/catamorphisms.jl , xtree/selectors.jl , xtree/xtree.jl