Skip to main content

Crate compactp_syntax

Crate compactp_syntax 

Source
Expand description

Shared syntax-tree types for the compactp parser frontend.

This crate defines SyntaxKind (the enum of every node and token kind in the Compact CST) plus the rowan SyntaxNode/SyntaxToken type aliases that the parser and AST crates build on.

Enums§

CompactLanguage
Marker type implementing rowan::Language for Compact’s SyntaxKind.
SyntaxKind
All syntax kinds for the Compact language.

Type Aliases§

SyntaxNode
Rowan syntax node specialized to Compact’s SyntaxKind set.
SyntaxToken
Rowan syntax token specialized to Compact’s SyntaxKind set.