Skip to main content

Module chunk_options

Module chunk_options 

Source
Expand description

Chunk option AST wrappers for type-safe access to chunk options in executable code blocks.

Structs§

ChunkClass
A class attribute in an executable code block (e.g., .marimo in {python .marimo}). The text accessor includes the leading ..
ChunkId
An id attribute in an executable code block (e.g., #setup in {r #setup}). The text accessor includes the leading #.
ChunkLabel
A chunk label in an executable code block (e.g., mylabel in {r mylabel}).
ChunkLabelEntry
ChunkOption
A chunk option in an executable code block (e.g., echo=TRUE or fig.cap="text").
ChunkOptionEntry
A single chunk option, decoupled from its source CST shape. Inline options come from CHUNK_OPTION nodes on the fence info line; hashpipe options come from the embedded YAML block map under HASHPIPE_YAML_CONTENT. Both project to the same key/value/range view so CodeBlock::merged_chunk_option_entries can mix them.
ChunkOptions

Enums§

ChunkInfoItem
ChunkLabelSource
ChunkOptionSource