mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
95 lines
5.1 KiB
XML
95 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="247" height="345">
|
|
<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="#scalar-or-var"
|
|
xlink:title="scalar-or-var">
|
|
<rect x="51" y="3" width="102" height="32"/>
|
|
<rect x="49" y="1" width="102" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="21">scalar-or-var</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#compr-set-or-object"
|
|
xlink:title="compr-set-or-object">
|
|
<rect x="51" y="47" width="148" height="32"/>
|
|
<rect x="49" y="45" width="148" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="65">compr-set-or-object</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#compr-or-array"
|
|
xlink:title="compr-or-array">
|
|
<rect x="51" y="91" width="116" height="32"/>
|
|
<rect x="49" y="89" width="116" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="109">compr-or-array</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#unary-expr"
|
|
xlink:title="unary-expr">
|
|
<rect x="51" y="135" width="90" height="32"/>
|
|
<rect x="49" y="133" width="90" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="153">unary-expr</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#parens-expr"
|
|
xlink:title="parens-expr">
|
|
<rect x="51" y="179" width="98" height="32"/>
|
|
<rect x="49" y="177" width="98" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="197">parens-expr</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#ref-dot"
|
|
xlink:title="ref-dot">
|
|
<rect x="51" y="223" width="64" height="32"/>
|
|
<rect x="49" y="221" width="64" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="241">ref-dot</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#ref-brack"
|
|
xlink:title="ref-brack">
|
|
<rect x="51" y="267" width="76" height="32"/>
|
|
<rect x="49" y="265" width="76" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="285">ref-brack</text>
|
|
</a>
|
|
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xlink:href="#call-expr"
|
|
xlink:title="call-expr">
|
|
<rect x="51" y="311" width="74" height="32"/>
|
|
<rect x="49" y="309" width="74" height="32" class="nonterminal"/>
|
|
<text class="nonterminal" x="59" y="329">call-expr</text>
|
|
</a>
|
|
<path class="line"
|
|
d="m17 17 h2 m20 0 h10 m102 0 h10 m0 0 h46 m-188 0 h20 m168 0 h20 m-208 0 q10 0 10 10 m188 0 q0 -10 10 -10 m-198 10 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m148 0 h10 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m116 0 h10 m0 0 h32 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m90 0 h10 m0 0 h58 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m98 0 h10 m0 0 h50 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m64 0 h10 m0 0 h84 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m76 0 h10 m0 0 h72 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m74 0 h10 m0 0 h74 m23 -308 h-3"/>
|
|
<polygon points="237 17 245 13 245 21"/>
|
|
<polygon points="237 17 229 13 229 21"/>
|
|
</svg>
|