Skip to content

Commit

Permalink
Fix docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Feb 12, 2023
1 parent 3aacba0 commit 323cdc4
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions boa_ast/src/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,17 @@ pub fn class_private_name_resolver(node: &mut Class, top_level_class_index: usiz
/// This function checks multiple syntax errors conditions for labels, `break` and `continue`.
///
/// The following syntax errors are checked:
/// - [`ContainsDuplicateLabels`][https://tc39.es/ecma262/#sec-static-semantics-containsduplicatelabels]
/// - [`ContainsUndefinedBreakTarget`][https://tc39.es/ecma262/#sec-static-semantics-containsundefinedbreaktarget]
/// - [`ContainsUndefinedContinueTarget`][https://tc39.es/ecma262/#sec-static-semantics-containsundefinedcontinuetarget]
/// - Early errors for [`BreakStatement`][https://tc39.es/ecma262/#sec-break-statement-static-semantics-early-errors]
/// - Early errors for [`ContinueStatement`][https://tc39.es/ecma262/#sec-continue-statement-static-semantics-early-errors]
/// - [`ContainsDuplicateLabels`][ContainsDuplicateLabels]
/// - [`ContainsUndefinedBreakTarget`][ContainsUndefinedBreakTarget]
/// - [`ContainsUndefinedContinueTarget`][ContainsUndefinedContinueTarget]
/// - Early errors for [`BreakStatement`][BreakStatement]
/// - Early errors for [`ContinueStatement`][ContinueStatement]
///
/// [ContainsDuplicateLabels]: https://tc39.es/ecma262/#sec-static-semantics-containsduplicatelabels
/// [ContainsUndefinedBreakTarget]: https://tc39.es/ecma262/#sec-static-semantics-containsundefinedbreaktarget
/// [ContainsUndefinedContinueTarget]: https://tc39.es/ecma262/#sec-static-semantics-containsundefinedcontinuetarget
/// [BreakStatement]: https://tc39.es/ecma262/#sec-break-statement-static-semantics-early-errors
/// [ContinueStatement]: https://tc39.es/ecma262/#sec-continue-statement-static-semantics-early-errors
#[must_use]
pub fn check_labels<N>(node: &N, interner: &Interner) -> Option<String>
where
Expand Down

0 comments on commit 323cdc4

Please sign in to comment.