Skip to content

Commit

Permalink
Create MetadataImpl struct
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Feb 13, 2025
1 parent 2ab70b3 commit ca473d0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,14 @@ const ENABLE_HASHCONSING = Ref(true)
end
end

@kwdef struct MetadataImpl
this::Metadata = NO_METADATA
children::IdDict{BasicSymbolicImpl, MetadataImpl}
end

@kwdef struct BasicSymbolic{T} <: Symbolic{T}
impl::BasicSymbolicImpl{T}
metadata::Metadata = NO_METADATA
meta::Metadata
end

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

0 comments on commit ca473d0

Please sign in to comment.