We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unfreeze_attrs
Dict{Symbol, Any}
Dict
1 parent 356d61a commit 06ba024Copy full SHA for 06ba024
src/syntax_graph.jl
@@ -23,7 +23,8 @@ function freeze_attrs(graph::SyntaxGraph)
23
end
24
25
function unfreeze_attrs(graph::SyntaxGraph)
26
- SyntaxGraph(graph.edge_ranges, graph.edges, Dict(pairs(graph.attributes)...))
+ unfrozen_attrs = Dict{Symbol,Any}(pairs(graph.attributes)...)
27
+ SyntaxGraph(graph.edge_ranges, graph.edges, unfrozen_attrs)
28
29
30
function _show_attrs(io, attributes::Dict)
0 commit comments