mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
76 lines
3.6 KiB
XML
76 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="555" height="85">
|
|
<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 33 1 29 1 37"/>
|
|
<polygon points="17 33 9 29 9 37"/>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#bool-expr"
|
|
xlink:title="bool-expr">
|
|
<rect x="31" y="19" width="80" height="32"/>
|
|
<rect x="29" y="17" width="80" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="39" y="37">bool-expr</text>
|
|
</a>
|
|
<rect x="151" y="51" width="24" height="32" rx="10"/>
|
|
<rect x="149"
|
|
y="49"
|
|
width="24"
|
|
height="32"
|
|
class="terminal"
|
|
rx="10"/>
|
|
<text class="terminal" x="159" y="69">,</text>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#bool-expr"
|
|
xlink:title="bool-expr">
|
|
<rect x="195" y="51" width="80" height="32"/>
|
|
<rect x="193" y="49" width="80" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="203" y="69">bool-expr</text>
|
|
</a>
|
|
<rect x="355" y="19" width="32" height="32" rx="10"/>
|
|
<rect x="353"
|
|
y="17"
|
|
width="32"
|
|
height="32"
|
|
class="terminal"
|
|
rx="10"/>
|
|
<text class="terminal" x="363" y="37">in</text>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#bool-expr"
|
|
xlink:title="bool-expr">
|
|
<rect x="407" y="19" width="80" height="32"/>
|
|
<rect x="405" y="17" width="80" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="415" y="37">bool-expr</text>
|
|
</a>
|
|
<path class="line"
|
|
d="m17 33 h2 m0 0 h10 m80 0 h10 m20 0 h10 m0 0 h134 m-164 0 h20 m144 0 h20 m-184 0 q10 0 10 10 m164 0 q0 -10 10 -10 m-174 10 v12 m164 0 v-12 m-164 12 q0 10 10 10 m144 0 q10 0 10 -10 m-154 10 h10 m24 0 h10 m0 0 h10 m80 0 h10 m60 -32 h10 m32 0 h10 m0 0 h10 m80 0 h10 m-172 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m152 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-152 0 h10 m0 0 h142 m-192 32 h20 m192 0 h20 m-232 0 q10 0 10 10 m212 0 q0 -10 10 -10 m-222 10 v14 m212 0 v-14 m-212 14 q0 10 10 10 m192 0 q10 0 10 -10 m-202 10 h10 m0 0 h182 m23 -34 h-3"/>
|
|
<polygon points="545 33 553 29 553 37"/>
|
|
<polygon points="545 33 537 29 537 37"/>
|
|
</svg>
|