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

112 lines
5.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="863" height="97">
<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="#path-ref"
xlink:title="path-ref">
<rect x="51" y="19" width="72" height="32"/>
<rect x="49" y="17" width="72" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="37">path-ref</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#NO_WS"
xlink:title="NO_WS">
<rect x="143" y="19" width="68" height="32"/>
<rect x="141" y="17" width="68" height="32" class="nonterminal"/>
<text class="nonterminal" x="151" y="37">NO_WS</text>
</a>
<rect x="231" y="19" width="26" height="32" rx="10"/>
<rect x="229"
y="17"
width="26"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="239" y="37">[</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#membership-expr"
xlink:title="membership-expr">
<rect x="277" y="19" width="132" height="32"/>
<rect x="275" y="17" width="132" height="32" class="nonterminal"/>
<text class="nonterminal" x="285" y="37">membership-expr</text>
</a>
<rect x="429" y="19" width="26" height="32" rx="10"/>
<rect x="427"
y="17"
width="26"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="437" y="37">]</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#var"
xlink:title="var">
<rect x="51" y="63" width="40" height="32"/>
<rect x="49" y="61" width="40" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="81">var</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#NO_WS"
xlink:title="NO_WS">
<rect x="535" y="19" width="68" height="32"/>
<rect x="533" y="17" width="68" height="32" class="nonterminal"/>
<text class="nonterminal" x="543" y="37">NO_WS</text>
</a>
<rect x="623" y="19" width="24" height="32" rx="10"/>
<rect x="621"
y="17"
width="24"
height="32"
class="terminal"
rx="10"/>
<text class="terminal" x="631" y="37">.</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#NO_WS"
xlink:title="NO_WS">
<rect x="667" y="19" width="68" height="32"/>
<rect x="665" y="17" width="68" height="32" class="nonterminal"/>
<text class="nonterminal" x="675" y="37">NO_WS</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="#var"
xlink:title="var">
<rect x="755" y="19" width="40" height="32"/>
<rect x="753" y="17" width="40" height="32" class="nonterminal"/>
<text class="nonterminal" x="763" y="37">var</text>
</a>
<path class="line"
d="m17 33 h2 m20 0 h10 m72 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m132 0 h10 m0 0 h10 m26 0 h10 m-444 0 h20 m424 0 h20 m-464 0 q10 0 10 10 m444 0 q0 -10 10 -10 m-454 10 v24 m444 0 v-24 m-444 24 q0 10 10 10 m424 0 q10 0 10 -10 m-434 10 h10 m40 0 h10 m0 0 h364 m60 -44 h10 m68 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m40 0 h10 m-300 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m280 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-280 0 h10 m0 0 h270 m-320 32 h20 m320 0 h20 m-360 0 q10 0 10 10 m340 0 q0 -10 10 -10 m-350 10 v14 m340 0 v-14 m-340 14 q0 10 10 10 m320 0 q10 0 10 -10 m-330 10 h10 m0 0 h310 m23 -34 h-3"/>
<polygon points="853 33 861 29 861 37"/>
<polygon points="853 33 845 29 845 37"/>
</svg>