Skip to main content

Crate squawk_syntax

Crate squawk_syntax 

Source

Re-exports§

pub use crate::ast::SourceFile;

Modules§

ast
identifier
syntax_error

Macros§

match_ast
Matches a SyntaxNode against an ast type.

Structs§

AstPtr
Like SyntaxNodePtr, but remembers the type of node.
Parse
Parse is the result of the parsing: a syntax tree and a collection of errors.
TokenText

Enums§

SyntaxKind
The kind of syntax node, e.g. IDENT, SELECT_KW, or WHERE_CLAUSE. Needs to be compatible with [rowan::SyntaxKind]

Type Aliases§

SyntaxElement
SyntaxNode
SyntaxNodePtr
A “pointer” to a SyntaxNode, via location in the source code.
SyntaxToken