mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 18:43:44 +00:00
docs(ecmascript): correct docs for GlobalContext::is_global_reference (#13022)
This commit is contained in:
1 parent
4ce252ca36
commit
9c05e2ffcd
1 file changed
-4
@@ -5,10 +5,6 @@ use crate::constant_evaluation::ConstantValue;
|
||||
|
||||
pub trait GlobalContext<'a>: Sized {
|
||||
/// Whether the reference is a global reference.
|
||||
///
|
||||
/// - None means it is unknown.
|
||||
/// - Some(true) means it is a global reference.
|
||||
/// - Some(false) means it is not a global reference.
|
||||
fn is_global_reference(&self, reference: &IdentifierReference<'a>) -> bool;
|
||||
|
||||
fn is_global_expr(&self, name: &str, expr: &Expression<'a>) -> bool {
|
||||
|
||||
Reference in new issue
Block a user