Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 3.91 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><!--DrawCmd-->
<root>DrawCmd</root>
<bgf:production><nonterminal>DrawCmd</nonterminal><bgf:expression><choice><bgf:expression><selectable><selector>rect</selector><bgf:expression><sequence><bgf:expression><marked><mark>left</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>top</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>width</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>height</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></sequence></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>ellipse</selector><bgf:expression><sequence><bgf:expression><marked><mark>left</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>top</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>width</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>height</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></sequence></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>line</selector><bgf:expression><sequence><bgf:expression><marked><mark>fromX</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>fromY</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>toX</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>toY</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></sequence></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>fill</selector><bgf:expression><marked><mark>color</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>stroke</selector><bgf:expression><marked><mark>color</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>strokeWeight</selector><bgf:expression><marked><mark>weight</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>text</selector><bgf:expression><sequence><bgf:expression><marked><mark>title</mark><bgf:expression><value>string</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>left</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>top</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></sequence></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>textColor</selector><bgf:expression><marked><mark>color</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>textFont</selector><bgf:expression><sequence><bgf:expression><marked><mark>font</mark><bgf:expression><value>string</value></bgf:expression></marked></bgf:expression><bgf:expression><marked><mark>size</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></sequence></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>textSize</selector><bgf:expression><marked><mark>size</mark><bgf:expression><value>int</value></bgf:expression></marked></bgf:expression></selectable></bgf:expression></choice></bgf:expression>
</bgf:production></bgf:grammar>