Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 8.46 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"><bgf:production><nonterminal>Integer</nonterminal><bgf:expression><value>int</value></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production><bgf:production><nonterminal>Boolean</nonterminal><bgf:expression><choice><bgf:expression><terminal>true</terminal></bgf:expression><bgf:expression><terminal>false</terminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>DateTimeType</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>year</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>month</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>day</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>hour</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>minute</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>second</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>StringValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>NumberValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>DateTimeTypeValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>BooleanValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ValueType</nonterminal><bgf:expression><nonterminal>ErrorValue</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StringValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>NumberValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>DateTimeTypeValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>DateTimeType</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>BooleanValue</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ErrorValue</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>vt_data</selector><bgf:expression><nonterminal>Data</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Workbook</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>wb_worksheets</selector><bgf:expression><nonterminal>Worksheet</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>Worksheet</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>ws_workbook</selector><bgf:expression><nonterminal>Workbook</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>ws_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Table</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>t_worksheet</selector><bgf:expression><nonterminal>Worksheet</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>t_cols</selector><bgf:expression><nonterminal>Column</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>t_rows</selector><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>TableElement</nonterminal><bgf:expression><nonterminal>ColOrRowElement</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>TableElement</nonterminal><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ColOrRowElement</nonterminal><bgf:expression><nonterminal>Column</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ColOrRowElement</nonterminal><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Column</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>c_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>autoFitWidth</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>width</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Row</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>r_table</selector><bgf:expression><nonterminal>Table</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>r_cells</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>autoFitHeight</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>height</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Cell</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>c_row</selector><bgf:expression><nonterminal>Row</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>arrayRange</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>formula</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>hRef</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>mergeAcross</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>mergeDown</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>c_data</selector><bgf:expression><nonterminal>Data</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Data</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>d_cell</selector><bgf:expression><nonterminal>Cell</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>ValueType</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production></bgf:grammar>