Files
regorus/docs/diagram/every.svg
Anand Krishnamoorthi aabf329088 Update READEME.md with current status, grammar etc. (#102)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-01-11 13:12:15 -08:00

107 lines
4.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="645" height="69">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900; stroke-width: 1;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
font-weight: normal;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
font-weight: normal;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<rect x="31" y="3" width="58" height="32" rx="10"/>
<rect x="29"
y="1"
width="58"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="39" y="21">every</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#var"
xlink:title="var">
<rect x="109" y="3" width="40" height="32"/>
<rect x="107" y="1" width="40" height="32" class="nonterminal"/>
<text class="nonterminal" x="117" y="21">var</text>
</a>
<rect x="189" y="35" width="24" height="32" rx="10"/>
<rect x="187"
y="33"
width="24"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="197" y="53">,</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#var"
xlink:title="var">
<rect x="233" y="35" width="40" height="32"/>
<rect x="231" y="33" width="40" height="32" class="nonterminal"/>
<text class="nonterminal" x="241" y="53">var</text>
</a>
<rect x="313" y="3" width="32" height="32" rx="10"/>
<rect x="311"
y="1"
width="32"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="321" y="21">in</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#bool-expr"
xlink:title="bool-expr">
<rect x="365" y="3" width="80" height="32"/>
<rect x="363" y="1" width="80" height="32" class="nonterminal"/>
<text class="nonterminal" x="373" y="21">bool-expr</text>
</a>
<rect x="465" y="3" width="28" height="32" rx="10"/>
<rect x="463"
y="1"
width="28"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="473" y="21">{</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#query"
xlink:title="query">
<rect x="513" y="3" width="56" height="32"/>
<rect x="511" y="1" width="56" height="32" class="nonterminal"/>
<text class="nonterminal" x="521" y="21">query</text>
</a>
<rect x="589" y="3" width="28" height="32" rx="10"/>
<rect x="587"
y="1"
width="28"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="597" y="21">}</text>
<path class="line"
d="m17 17 h2 m0 0 h10 m58 0 h10 m0 0 h10 m40 0 h10 m20 0 h10 m0 0 h94 m-124 0 h20 m104 0 h20 m-144 0 q10 0 10 10 m124 0 q0 -10 10 -10 m-134 10 v12 m124 0 v-12 m-124 12 q0 10 10 10 m104 0 q10 0 10 -10 m-114 10 h10 m24 0 h10 m0 0 h10 m40 0 h10 m20 -32 h10 m32 0 h10 m0 0 h10 m80 0 h10 m0 0 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m3 0 h-3"/>
<polygon points="635 17 643 13 643 21"/>
<polygon points="635 17 627 13 627 21"/>
</svg>