Skip to content

Commit

Permalink
Fix docs build.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkNahabedian committed Dec 1, 2024
1 parent 204f4bd commit 7836b17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/root_nodes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ struct ReteRootNode <: AbstractReteRootNode
outputs::Set{AbstractReteNode}
label::String

ReteRootNode() = ReteRootNode("root")

function ReteRootNode(label::String)
new(Set{AbstractReteNode}(),
Set{AbstractReteNode}(),
Expand Down
4 changes: 4 additions & 0 deletions src/rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Rule is an abstract supertype for all rules.
abstract type Rule end


install(root::T, rule::Rule) where T =
install(CanInstallRulesTrait(T), root, (typeof(rule)))


"""
emits(rule::Type)
Expand Down

0 comments on commit 7836b17

Please sign in to comment.