refactor: rename GCObject.shallow_copy -> shallow_move

resolve conflict since relying on move constructor in std_copy_for
This commit is contained in:
Roland Conybeare 2026-04-04 15:00:53 -04:00
commit 2003c3c6f9
44 changed files with 66 additions and 66 deletions

View file

@ -83,7 +83,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DApplyExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
DApplyExpr * shallow_move(obj<AAllocator> mm) const noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -63,7 +63,7 @@ namespace xo {
///@{
size_t shallow_size() const noexcept;
DConstant * shallow_copy(obj<AAllocator> mm) const noexcept;
DConstant * shallow_move(obj<AAllocator> mm) const noexcept;
size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -73,7 +73,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DDefineExpr * shallow_copy(obj<AAllocator> mm) noexcept;
DDefineExpr * shallow_move(obj<AAllocator> mm) noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -111,7 +111,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DGlobalSymtab * shallow_copy(obj<AAllocator> mm) const noexcept;
DGlobalSymtab * shallow_move(obj<AAllocator> mm) const noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -99,7 +99,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DIfElseExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
DIfElseExpr * shallow_move(obj<AAllocator> mm) const noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -85,7 +85,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DLambdaExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
DLambdaExpr * shallow_move(obj<AAllocator> mm) const noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -98,7 +98,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DLocalSymtab * shallow_copy(obj<AAllocator> mm) noexcept;
DLocalSymtab * shallow_move(obj<AAllocator> mm) noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -73,7 +73,7 @@ namespace xo {
///@{
std::size_t shallow_size() const noexcept;
DSequenceExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
DSequenceExpr * shallow_move(obj<AAllocator> mm) const noexcept;
std::size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -54,7 +54,7 @@ namespace xo {
///@{
size_t shallow_size() const noexcept;
DTypename * shallow_copy(obj<AAllocator> mm) noexcept;
DTypename * shallow_move(obj<AAllocator> mm) noexcept;
size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -55,7 +55,7 @@ namespace xo {
///@{
size_t shallow_size() const noexcept;
DVarRef * shallow_copy(obj<AAllocator> mm) const noexcept;
DVarRef * shallow_move(obj<AAllocator> mm) const noexcept;
size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -63,7 +63,7 @@ namespace xo {
///@{
size_t shallow_size() const noexcept;
DVariable * shallow_copy(obj<AAllocator> mm) const noexcept;
DVariable * shallow_move(obj<AAllocator> mm) const noexcept;
size_t forward_children(obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DDefineExpr & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DDefineExpr & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DDefineExpr & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DDefineExpr & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DApplyExpr & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DApplyExpr & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DApplyExpr & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DApplyExpr & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DConstant & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DConstant & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DConstant & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DConstant & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DIfElseExpr & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DIfElseExpr & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DIfElseExpr & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DIfElseExpr & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DLambdaExpr & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DLambdaExpr & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DLambdaExpr & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DLambdaExpr & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DSequenceExpr & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DSequenceExpr & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DSequenceExpr & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DSequenceExpr & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DVarRef & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DVarRef & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DVarRef & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DVarRef & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DGlobalSymtab & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DGlobalSymtab & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DGlobalSymtab & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DGlobalSymtab & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DLocalSymtab & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DLocalSymtab & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DLocalSymtab & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DLocalSymtab & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -52,8 +52,8 @@ namespace xo {
static size_type shallow_size(const DTypename & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DTypename & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DTypename & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DTypename & self, obj<ACollector> gc) noexcept;
///@}

View file

@ -54,8 +54,8 @@ namespace xo {
static size_type shallow_size(const DVariable & self) noexcept;
// non-const methods
/** copy instance using allocator **/
static Opaque shallow_copy(DVariable & self, obj<AAllocator> mm) noexcept;
/** move instance using allocator **/
static Opaque shallow_move(DVariable & self, obj<AAllocator> mm) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DVariable & self, obj<ACollector> gc) noexcept;
///@}