Skip to main content

Module nodes

Module nodes 

Source
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 … \fi conditional the shape gate paired.
ConditionalBranch
One branch of a Conditional. The first holds the opener, its test, and the then-body; every later one opens with its \else/\or divider.
End
An \end{name} node.
Environment
A \begin{…} … \end{…} environment.
Group
A { … } group — an argument, or a nested brace group.
NameGroup
The {name} group following \begin / \end.
Optional
A [ … ] optional argument.