Skip to content

Commit ca473d0

Browse files
committed
Create MetadataImpl struct
1 parent 2ab70b3 commit ca473d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/types.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,14 @@ const ENABLE_HASHCONSING = Ref(true)
6363
end
6464
end
6565

66+
@kwdef struct MetadataImpl
67+
this::Metadata = NO_METADATA
68+
children::IdDict{BasicSymbolicImpl, MetadataImpl}
69+
end
70+
6671
@kwdef struct BasicSymbolic{T} <: Symbolic{T}
6772
impl::BasicSymbolicImpl{T}
68-
metadata::Metadata = NO_METADATA
73+
meta::Metadata
6974
end
7075

7176
function SymbolicIndexingInterface.symbolic_type(::Type{<:BasicSymbolic})

0 commit comments

Comments
 (0)