move Expr out of parser

This commit is contained in:
Raptorox 2026-05-21 17:26:14 +02:00
parent 99be8a16c7
commit a3d9723a36
No known key found for this signature in database
GPG key ID: 8B3556FC3ED1F6D8
4 changed files with 49 additions and 47 deletions

View file

@ -1,4 +1,4 @@
use crate::parser::{BinaryOp, Expr, UnaryOp};
use crate::expr::{BinaryOp, Expr, UnaryOp};
pub struct Evaluator {
ast: Expr