summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-11-09 12:53:04 +0100
committerFrancois Perrad <francois.perrad@gadz.org>2010-11-09 12:53:04 +0100
commitde6c76cdb9610856b9252c5ab80bd4e72882b33d (patch)
tree2c0e84b6f554bd619d19e7ce45d093cd317bdaf8
parentrename abstract_syntax_tree (diff)
downloadspore-specifications-de6c76cdb9610856b9252c5ab80bd4e72882b33d.tar.gz
add semantic_model
Diffstat (limited to '')
-rw-r--r--uml/Makefile6
-rw-r--r--uml/semantic_model.dot14
-rw-r--r--uml/semantic_model.pngbin0 -> 24345 bytes
3 files changed, 18 insertions, 2 deletions
diff --git a/uml/Makefile b/uml/Makefile
index 4d35baa..006ee14 100644
--- a/uml/Makefile
+++ b/uml/Makefile
@@ -1,6 +1,8 @@
-abstract_syntax_tree.png: abstract_syntax_tree.dot
- dot -T png -o $@ $<
+all: abstract_syntax_tree.png semantic_model.png
+
+%.png: %.dot
+ dot -T png -o $@ $<
clean:
rm *.png
diff --git a/uml/semantic_model.dot b/uml/semantic_model.dot
new file mode 100644
index 0000000..cfafe92
--- /dev/null
+++ b/uml/semantic_model.dot
@@ -0,0 +1,14 @@
+digraph {
+
+ node [shape=record];
+
+ "API"
+ [label="{\N|methods : map&lt;string,Method&gt;\lname : string\l}"];
+
+ "API" -> "Method"
+ [label="methods", dir=back, arrowtail=odiamond];
+
+ "Method"
+ [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldeprecated : boolean\ldescription : string\lexpected_status : array&lt;number&gt;\lform-data : map&lt;string,string&gt;\lformats : array&lt;string&gt;\lheaders : map&lt;string,string&gt;\loptional_params : array&lt;string&gt;\loptional_payload : boolean\lrequired_params : array&lt;string&gt;\lrequired_payload : boolean\lunattended_params : boolean\l}"];
+
+}
diff --git a/uml/semantic_model.png b/uml/semantic_model.png
new file mode 100644
index 0000000..e222ffa
--- /dev/null
+++ b/uml/semantic_model.png
Binary files differ