Rename Full -> FullAst

This commit is contained in:
Joshua Warner 2024-08-10 13:20:54 -07:00
parent 3f7f1891f3
commit 0abea91796
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
9 changed files with 17 additions and 17 deletions

View file

@ -15,7 +15,7 @@ use roc_module::ident::QualifiedModuleName;
use roc_region::all::{Loc, Position, Region};
#[derive(Debug, Clone)]
pub struct Full<'a> {
pub struct FullAst<'a> {
pub header: SpacesBefore<'a, Header<'a>>,
pub defs: Defs<'a>,
}
@ -2436,7 +2436,7 @@ pub trait Malformed {
fn is_malformed(&self) -> bool;
}
impl<'a> Malformed for Full<'a> {
impl<'a> Malformed for FullAst<'a> {
fn is_malformed(&self) -> bool {
self.header.item.is_malformed() || self.defs.is_malformed()
}