Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Node reference

aozora exposes 19 NodeKind variants. Each is documented on its own page with source examples, the rendered HTML, the serialize round-trip output, the in-memory AST shape, and the diagnostics it can fire alongside.

The page layout matches the aozora explain <kind> CLI subcommand: once you find the variant in the table, the deep dive is one click — or one shell invocation — away.

VariantWire tagNotation
Rubyruby|base《reading》
Boutenbouten[#「target」に傍点]
TateChuYokotateChuYoko[#「12」は縦中横]
Gaijigaiji※[#...、第3水準1-85-54]
Indentindent[#2字下げ]
AlignEndalignEnd[#地から2字上げ]
Warichuwarichu[#割り注]...
Keigakomikeigakomi[#罫囲み]
PageBreakpageBreak[#改ページ]
SectionBreaksectionBreak[#改丁]
AozoraHeadingheading[#見出し]
HeadingHintheadingHint[#「対象」は中見出し]
Sashiesashie[#挿絵(path.png)入る]
Kaeritenkaeriten[#返り点 一・二]
Annotationannotation[#任意のコメント]
DoubleRubydoubleRuby《《重要》》
Containercontainer[#ここから...]...[#ここで...終わり]
ContainerOpencontainerOpen(NodeRef projection)
ContainerClosecontainerClose(NodeRef projection)

How to read these pages

Every node page follows the same skeleton:

SectionContent
Source examplesOne or two minimal Aozora-notation strings that produce this variant.
Rendered HTMLWhat Document::new(src).parse().to_html() emits.
Serialize outputWhat serialize() emits — typically the canonical form of the source.
AST shapeThe borrowed-AST struct fields the variant carries.
When emittedPhase 3 classification rule that produces this variant.
DiagnosticsCodes that may accompany this variant.
Related kindsCross-links to neighbours (BoutenBousen, IndentContainer::Indent, etc.).

#[non_exhaustive] on NodeKind: a future minor release adding a new variant lands here without a breaking change. Downstream consumers that match on NodeKind exhaustively must include a _ arm.