We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GlobalContext::is_global_reference
1 parent 6fe0bb5 commit 235607eCopy full SHA for 235607e
crates/oxc_ecmascript/src/global_context.rs
@@ -5,10 +5,6 @@ use crate::constant_evaluation::ConstantValue;
5
6
pub trait GlobalContext<'a>: Sized {
7
/// Whether the reference is a global reference.
8
- ///
9
- /// - None means it is unknown.
10
- /// - Some(true) means it is a global reference.
11
- /// - Some(false) means it is not a global reference.
12
fn is_global_reference(&self, reference: &IdentifierReference<'a>) -> bool;
13
14
fn is_global_expr(&self, name: &str, expr: &Expression<'a>) -> bool {
0 commit comments