[fine] Parse is expression, partially

This commit is contained in:
John Doty 2024-02-02 06:32:03 -08:00
parent afa4812074
commit ba5b37f5ff
4 changed files with 98 additions and 23 deletions

View file

@ -1854,6 +1854,9 @@ pub fn check(s: &Semantics) {
TreeKind::FieldValue => {}
TreeKind::SelfParameter => {}
TreeKind::SelfReference => {}
TreeKind::IsExpression => check_is_expression(s, tree),
TreeKind::VariableBinding => check_variable_binding(s, tree),
}
}
}
@ -2029,6 +2032,14 @@ fn check_class_declaration(s: &Semantics, tree: &Tree) {
}
}
fn check_is_expression(_s: &Semantics, _tree: &Tree) {
// TODO
}
fn check_variable_binding(_s: &Semantics, _tree: &Tree) {
// TODO
}
#[cfg(test)]
mod tests {
use super::*;