mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
docs(transformer/private-methods): amend comments (#8398)
This commit is contained in:
parent
4e05e66d7c
commit
05cba5bf09
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ impl<'a> ClassProperties<'a, '_> {
|
|||
/// class C {
|
||||
/// #method() {}
|
||||
/// set #prop(value) {}
|
||||
/// get #prop() {return 0}
|
||||
/// get #prop() { return 0; }
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
@ -31,7 +31,7 @@ impl<'a> ClassProperties<'a, '_> {
|
|||
/// class C {}
|
||||
/// function _method() {}
|
||||
/// function _set_prop(value) {}
|
||||
/// function _get_prop() {return 0}
|
||||
/// function _get_prop() { return 0; }
|
||||
/// ```
|
||||
///
|
||||
/// Returns `true` if the method was converted.
|
||||
|
|
@ -92,7 +92,7 @@ impl<'a> ClassProperties<'a, '_> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Visitor to transform:
|
||||
/// Visitor to transform private methods.
|
||||
///
|
||||
/// Almost the same as `super::static_block_and_prop_init::StaticVisitor`,
|
||||
/// but only does following:
|
||||
|
|
|
|||
Loading…
Reference in a new issue