1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-20 07:30:00 +00:00

improved Asm Fragment system UML

This commit is contained in:
jespergravgaard 2022-03-20 12:45:01 +01:00
parent 81f50c731a
commit b8aba3d0b0

View File

@ -9,9 +9,12 @@ Synthesizer -- "1" TemplateCache
Synthesizer -- "*" Synthesis : "uses"
Synthesizer : getFragmentInstance(InstanceSpec) : Instance
Synthesizer : Map<Signature, Synthesis> graph
Synthesizer : loadFragmentTemplates(Signature) : List<SynthesisResult>
Synthesizer : getOrCreateSynthesis(Signature) : Synthesis
Synthesizer ... Instance : "produces"
Synthesizer ... InstanceSpec : "consumes"
Synthesis -- "1" Signature
Synthesis -- "*" SynthesisResult
Synthesis -- "*" SynthesisOption
@ -23,6 +26,9 @@ SynthesisOption -- "1" SynthesisRule
interface SynthesisRule
SynthesisRule : matches(AsmFragmentSignature): boolean
SynthesisRule : synthesize(AsmFragmentSignature, List<Template>): Template
SynthesisRule ... Template : "produces"
SynthesisRule ... Signature : "consumes"
SynthesisResult -- "1" Template
SynthesisResult -- "1" SynthesisRule