Minor code refactors.

This commit is contained in:
Stephen Chung
2021-02-03 19:14:26 +08:00
parent 42058836ba
commit c5e2620d0f
3 changed files with 88 additions and 98 deletions

View File

@@ -1305,7 +1305,7 @@ impl Expr {
_ => return None,
})
}
/// Is the expression a simple variable access?
/// Return the variable name if the expression a simple variable access.
#[inline(always)]
pub(crate) fn get_variable_access(&self, non_qualified: bool) -> Option<&str> {
match self {