mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
docs(transformer): exponentiation transform: update doc comments (#6315)
Just update docs for this transform.
This commit is contained in:
parent
ccb7bdcc56
commit
eb1d0b8838
1 changed files with 3 additions and 7 deletions
|
|
@ -26,7 +26,9 @@
|
||||||
//!
|
//!
|
||||||
//! ## References:
|
//! ## References:
|
||||||
//!
|
//!
|
||||||
//! * Babel plugin implementation: <https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-exponentiation-operator>
|
//! * Babel plugin implementation:
|
||||||
|
//! <https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-exponentiation-operator>
|
||||||
|
//! <https://github.com/babel/babel/tree/main/packages/babel-helper-builder-binary-assignment-operator-visitor>
|
||||||
//! * Exponentiation operator TC39 proposal: <https://github.com/tc39/proposal-exponentiation-operator>
|
//! * Exponentiation operator TC39 proposal: <https://github.com/tc39/proposal-exponentiation-operator>
|
||||||
//! * Exponentiation operator specification: <https://tc39.es/ecma262/#sec-exp-operator>
|
//! * Exponentiation operator specification: <https://tc39.es/ecma262/#sec-exp-operator>
|
||||||
|
|
||||||
|
|
@ -39,12 +41,6 @@ use oxc_traverse::{Traverse, TraverseCtx};
|
||||||
|
|
||||||
use crate::TransformCtx;
|
use crate::TransformCtx;
|
||||||
|
|
||||||
/// ES2016: Exponentiation Operator
|
|
||||||
///
|
|
||||||
/// References:
|
|
||||||
/// * <https://babel.dev/docs/babel-plugin-transform-exponentiation-operator>
|
|
||||||
/// * <https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-exponentiation-operator>
|
|
||||||
/// * <https://github.com/babel/babel/blob/main/packages/babel-helper-builder-binary-assignment-operator-visitor>
|
|
||||||
pub struct ExponentiationOperator<'a, 'ctx> {
|
pub struct ExponentiationOperator<'a, 'ctx> {
|
||||||
ctx: &'ctx TransformCtx<'a>,
|
ctx: &'ctx TransformCtx<'a>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue