lang: current state for archival purposes

This commit is contained in:
Schrottkatze 2024-06-23 20:32:10 +02:00
parent 37651a83bc
commit 1c6180aabc
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
10 changed files with 775 additions and 59 deletions

View file

@ -209,4 +209,9 @@ impl Output {
pub fn errors(&self) -> Vec<SyntaxError> {
self.errors.clone()
}
pub fn dissolve(self) -> (GreenNode, Vec<SyntaxError>) {
let Self { green_node, errors } = self;
(green_node, errors)
}
}