Browse Source

Update boa/src/syntax/ast/op.rs

Co-Authored-By: Iban Eguia <razican@protonmail.ch>
pull/293/head
HalidOdat 5 years ago
parent
commit
f8012bc408
  1. 5
      boa/src/syntax/ast/op.rs

5
boa/src/syntax/ast/op.rs

@ -20,8 +20,9 @@ pub trait Operator {
/// as their operands and return a single numerical value. /// as their operands and return a single numerical value.
/// ///
/// More information: /// More information:
/// - MDN documentation: /// - [MDN documentation][mdn]
/// <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Arithmetic> ///
/// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Arithmetic
#[cfg_attr(feature = "serde-ast", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde-ast", derive(Serialize, Deserialize))]
#[derive(Clone, Debug, Trace, Finalize, PartialEq)] #[derive(Clone, Debug, Trace, Finalize, PartialEq)]
pub enum NumOp { pub enum NumOp {

Loading…
Cancel
Save