-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathset.dot
68 lines (61 loc) · 1.99 KB
/
set.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* AST node diagram generator script collection for M2C, M2J and M2Sharp.
*
* Copyright (c) 2016 The Modula-2 Software Foundation
*
* Author & Maintainer: Benjamin Kowarsch <org.m2sf>
*
* @synopsis
*
* The M2C, M2J and M2Sharp compilers are multi-dialect Modula-2 translators
* and compilers respectively targeting C99, Java/JVM and C#/CLR, sharing a
* common abstract syntax tree (AST) specification.
*
* The AST node diagram generator script collection consists of Graphviz DOT
* descriptions for all AST node types of the common AST specification.
*
* The Graphviz dot utility is required to generate the diagrams.
* It may be obtained from http://www.graphviz.org/download.php.
*
* @repository
*
* https://github.com/m2sf/m2-ast-node-diagrams
*
* @file
*
* set.dot
*
* SET node diagram.
*
* Usage: $ dot set.dot -Tps > set.ps
*
* @license
*
* This is free software: you can redistribute and/or modify it under the
* terms of the GNU Lesser General Public License (LGPL) either version 2.1
* or at your choice version 3 as published by the Free Software Foundation.
* However, you may not alter the copyright, author and license information.
*
* It is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. Read the license for more details.
*
* You should have received a copy of the GNU Lesser General Public License.
* If not, see <https://www.gnu.org/copyleft/lesser.html>.
*
* NB: Components in the domain part of email addresses are in reverse order.
*/
/*** SET Node ***/
digraph SET {
graph [orientation=landscape,fontname=helvetica];
node [fontname=helvetica,fontsize=10,shape=box,height=0.25];
node [style=solid];
edge [arrowhead=normal];
SET -> id0;
id0 [label="countableType",style=rounded];
edge [arrowhead=none];
id0 -> { id1 id2 id3 };
id1 [label="QUALIDENT"];
id2 [label="SUBR"];
id3 [label="ENUM"];
}
/* END OF FILE */