Files
regorus/docs/diagram/rule-head.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

74 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="201" height="213">
<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="#func-rule"
xlink:title="func-rule">
<rect x="51" y="3" width="76" height="32"/>
<rect x="49" y="1" width="76" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="21">func-rule</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#contains-rule"
xlink:title="contains-rule">
<rect x="51" y="47" width="102" height="32"/>
<rect x="49" y="45" width="102" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">contains-rule</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#object-rule"
xlink:title="object-rule">
<rect x="51" y="91" width="88" height="32"/>
<rect x="49" y="89" width="88" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="109">object-rule</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#set-rule"
xlink:title="set-rule">
<rect x="51" y="135" width="70" height="32"/>
<rect x="49" y="133" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="153">set-rule</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#compr-rule"
xlink:title="compr-rule">
<rect x="51" y="179" width="88" height="32"/>
<rect x="49" y="177" width="88" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="197">compr-rule</text>
</a>
<path class="line"
d="m17 17 h2 m20 0 h10 m76 0 h10 m0 0 h26 m-142 0 h20 m122 0 h20 m-162 0 q10 0 10 10 m142 0 q0 -10 10 -10 m-152 10 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m102 0 h10 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m88 0 h10 m0 0 h14 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m70 0 h10 m0 0 h32 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m88 0 h10 m0 0 h14 m23 -176 h-3"/>
<polygon points="191 17 199 13 199 21"/>
<polygon points="191 17 183 13 183 21"/>
</svg>