Expand description
Typed AstNode wrappers over the generic CST.
Accessors are positional and tolerate greedily attached groups. They expose syntax without assigning command meaning or consulting the signature database.
Structs§
- Begin
- A
\begin{name}node. - Command
- A control sequence with its greedily-attached argument groups.
- Conditional
- An
\if… … \else … \or … \ficonditional the shape gate paired. - Conditional
Branch - One branch of a
Conditional. The first holds the opener, its test, and the then-body; every later one opens with its\else/\ordivider. - End
- An
\end{name}node. - Environment
- A
\begin{…} … \end{…}environment. - Group
- A
{ … }group — an argument, or a nested brace group. - Name
Group - The
{name}group following\begin/\end. - Optional
- A
[ … ]optional argument.