iowo/crates/lang/src/parser/grammar.rs

15 lines
238 B
Rust
Raw Normal View History

2024-04-24 09:07:38 +00:00
use crate::parser::syntax_kind::SyntaxKind::*;
use super::Parser;
mod expression;
pub fn source_file(p: &mut Parser) {
let root = p.start();
expression::expression(p);
p.eat_succeeding_ws();
root.complete(p, ROOT);
}