@@ -414,7 +414,7 @@ class MRDOCS_DECL Value
414
414
via @ref Scope::reset.
415
415
416
416
*/
417
- MRDOCS_DECL ~Value ();
417
+ ~Value ();
418
418
419
419
/* * Constructor
420
420
@@ -424,36 +424,36 @@ class MRDOCS_DECL Value
424
424
The value is undefined.
425
425
426
426
*/
427
- MRDOCS_DECL Value () noexcept ;
427
+ Value () noexcept ;
428
428
429
429
/* * Constructor
430
430
431
431
The function pushes a duplicate of
432
432
value to the stack and associates
433
433
the new value the top of the stack.
434
434
*/
435
- MRDOCS_DECL Value (Value const &);
435
+ Value (Value const &);
436
436
437
437
/* * Constructor
438
438
439
439
The function associates the
440
440
existing value with this object.
441
441
*/
442
- MRDOCS_DECL Value (Value&&) noexcept ;
442
+ Value (Value&&) noexcept ;
443
443
444
444
/* * Copy assignment.
445
445
446
446
@copydetails Value(Value const&)
447
447
448
448
*/
449
- MRDOCS_DECL Value& operator =(Value const &);
449
+ Value& operator =(Value const &);
450
450
451
451
/* * Move assignment.
452
452
453
453
@copydetails Value(Value&&)
454
454
455
455
*/
456
- MRDOCS_DECL Value& operator =(Value&&) noexcept ;
456
+ Value& operator =(Value&&) noexcept ;
457
457
458
458
/* * Return the type of the value.
459
459
@@ -476,7 +476,7 @@ class MRDOCS_DECL Value
476
476
internal ECMAScript class `Function`.
477
477
478
478
*/
479
- MRDOCS_DECL Type type () const noexcept ;
479
+ Type type () const noexcept ;
480
480
481
481
// / Check if the value is undefined.
482
482
bool
@@ -706,15 +706,13 @@ class MRDOCS_DECL Value
706
706
707
707
/* * Set or replace the value for a given key.
708
708
*/
709
- MRDOCS_DECL
710
709
void
711
710
set (
712
711
std::string_view key,
713
712
Value const & value) const ;
714
713
715
714
/* * Set or replace the value for a given key.
716
715
*/
717
- MRDOCS_DECL
718
716
void
719
717
set (
720
718
std::string_view key,
@@ -821,6 +819,7 @@ class MRDOCS_DECL Value
821
819
operator, which does not perform type conversions.
822
820
*/
823
821
friend
822
+ MRDOCS_DECL
824
823
bool
825
824
operator ==(
826
825
Value const & lhs,
@@ -870,6 +869,7 @@ class MRDOCS_DECL Value
870
869
/* * Compare two values for inequality.
871
870
*/
872
871
friend
872
+ MRDOCS_DECL
873
873
std::strong_ordering
874
874
operator <=>(
875
875
Value const & lhs,
@@ -880,6 +880,7 @@ class MRDOCS_DECL Value
880
880
This function is equivalent to the JavaScript `||` operator.
881
881
*/
882
882
friend
883
+ MRDOCS_DECL
883
884
Value
884
885
operator ||(Value const & lhs, Value const & rhs);
885
886
@@ -904,6 +905,7 @@ class MRDOCS_DECL Value
904
905
This function is equivalent to the JavaScript `&&` operator.
905
906
*/
906
907
friend
908
+ MRDOCS_DECL
907
909
Value
908
910
operator &&(Value const & lhs, Value const & rhs);
909
911
@@ -928,20 +930,18 @@ class MRDOCS_DECL Value
928
930
This function coerces any value to a string.
929
931
*/
930
932
friend
933
+ MRDOCS_DECL
931
934
std::string
932
935
toString (Value const & value);
933
936
934
937
private:
935
- MRDOCS_DECL
936
938
Expected<Value>
937
939
callImpl (
938
940
std::initializer_list<dom::Value> args) const ;
939
941
940
- MRDOCS_DECL
941
942
Expected<Value>
942
943
callImpl (std::span<dom::Value> args) const ;
943
944
944
- MRDOCS_DECL
945
945
Expected<Value>
946
946
callPropImpl (
947
947
std::string_view prop,
0 commit comments