File: DumpGrammar.tioga
CFG for dumping and loading of whiteboard databases.
Copyright (C) 1984 by Xerox Corporation. All rights reserved.
Dump routine is implemented by WhiteboardDump.mesa.
Load routine is implemented by WhiteboardLoad.mesa.
Last Edited by: Jennifer Widom, August 24, 1984 11:27:32 pm PDT
Last Edited by: Donahue, September 3, 1984 10:35:45 am PDT
<Dump> ::= <WBDumpList>
<WBDumpList> ::= <WBDump> <WBDumpList> | <empty>
<WBDump> ::= (WHITEBOARD WhiteboardName <WBItemList>)
<WBItemList> ::= <WBItem> <WBItemList> | <empty>
<WBItem> ::= <NoteDump> | <IconDump>
<NoteDump> ::= (NOTE <NoteInfo>)
<NoteInfo> ::= X Y W H LengthOf[Contents] Contents LengthOf[Format] Format "|"
X, Y, W and H are integers giving the position and size of the note
<IconDump> ::= (ICON <IconInfo>)
<IconInfo> ::= X Y <IconName> "|" <IconLabel> "|" <IconType> "|" <IconIcon>
<IconName> ::= IconName | "-"
dashes mean empty
<IconLabel> ::= IconLabel | "-"
<IconType> ::= IconType | "-"
<IconIcon> ::= IconIcon | "-"