[fine] Parse is expression, partially
This commit is contained in:
parent
afa4812074
commit
ba5b37f5ff
4 changed files with 98 additions and 23 deletions
|
|
@ -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::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue