Skip to content

Commit 235607e

Browse files
committed
docs(ecmascript): correct docs for GlobalContext::is_global_reference
1 parent 6fe0bb5 commit 235607e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/oxc_ecmascript/src/global_context.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ use crate::constant_evaluation::ConstantValue;
55

66
pub trait GlobalContext<'a>: Sized {
77
/// 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.
128
fn is_global_reference(&self, reference: &IdentifierReference<'a>) -> bool;
139

1410
fn is_global_expr(&self, name: &str, expr: &Expression<'a>) -> bool {

0 commit comments

Comments
 (0)