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:
parent
81f50c731a
commit
b8aba3d0b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user