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