mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
aabf329088
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
91 lines
4.3 KiB
XML
91 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="195" height="301">
|
|
<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"/>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#var"
|
|
xlink:title="var">
|
|
<rect x="51" y="3" width="40" height="32"/>
|
|
<rect x="49" y="1" width="40" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="21">var</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#NUMBER"
|
|
xlink:title="NUMBER">
|
|
<rect x="51" y="47" width="72" height="32"/>
|
|
<rect x="49" y="45" width="72" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="65">NUMBER</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#STRING"
|
|
xlink:title="STRING">
|
|
<rect x="51" y="91" width="66" height="32"/>
|
|
<rect x="49" y="89" width="66" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="109">STRING</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#RAWSTRING"
|
|
xlink:title="RAWSTRING">
|
|
<rect x="51" y="135" width="96" height="32"/>
|
|
<rect x="49" y="133" width="96" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="153">RAWSTRING</text>
|
|
</a>
|
|
<rect x="51" y="179" width="44" height="32" rx="10"/>
|
|
<rect x="49"
|
|
y="177"
|
|
width="44"
|
|
height="32"
|
|
class="terminal"
|
|
rx="10"/>
|
|
<text class="terminal" x="59" y="197">null</text>
|
|
<rect x="51" y="223" width="48" height="32" rx="10"/>
|
|
<rect x="49"
|
|
y="221"
|
|
width="48"
|
|
height="32"
|
|
class="terminal"
|
|
rx="10"/>
|
|
<text class="terminal" x="59" y="241">true</text>
|
|
<rect x="51" y="267" width="52" height="32" rx="10"/>
|
|
<rect x="49"
|
|
y="265"
|
|
width="52"
|
|
height="32"
|
|
class="terminal"
|
|
rx="10"/>
|
|
<text class="terminal" x="59" y="285">false</text>
|
|
<path class="line"
|
|
d="m17 17 h2 m20 0 h10 m40 0 h10 m0 0 h56 m-136 0 h20 m116 0 h20 m-156 0 q10 0 10 10 m136 0 q0 -10 10 -10 m-146 10 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m72 0 h10 m0 0 h24 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m66 0 h10 m0 0 h30 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m96 0 h10 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m44 0 h10 m0 0 h52 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m48 0 h10 m0 0 h48 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m52 0 h10 m0 0 h44 m23 -264 h-3"/>
|
|
<polygon points="185 17 193 13 193 21"/>
|
|
<polygon points="185 17 177 13 177 21"/>
|
|
</svg>
|