Line 42:
Line 42:
* [[saveMap]]: This outputs a visual representation (an image) of the spatial data structure. See [http://wam.umd.edu/~bzoller/cmsc420/doc/cmsc420/drawing/CanvasPlus.html CanvasPlus].
* [[saveMap]]: This outputs a visual representation (an image) of the spatial data structure. See [http://wam.umd.edu/~bzoller/cmsc420/doc/cmsc420/drawing/CanvasPlus.html CanvasPlus].
* [[clearAll]]: Clears all of the data structures, removing all elements.
* [[clearAll]]: Clears all of the data structures, removing all elements.
+
+
== Output ==
+
+
* <[[success]]>: This is when your parser has sucessfully parsed and finished a command.
+
* <[[error]]>: When an error occurs after attempting to run a command
+
* <[[fatal error]]>: There is a problem with the entire document
+
* <[[undefined error]]>: Defalut error, when we aren't sure exactly what happened
+
* <[[city]]>: The spec says it should be sorted and in the <output> tag but I am not sure how this works... explain if you do please
== Testing ==
== Testing ==