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

14 lines
238 B
Rust

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);
}