com.hdcookbook.grin.io.text
Class MosaicsParser

java.lang.Object
  extended by com.hdcookbook.grin.io.text.MosaicsParser

public class MosaicsParser
extends java.lang.Object

The parser for a mosaics file. A mosaics file is a show file that only defines mosaics. See ../../doc-files/index.html for the BNF syntax.

Author:
Bill Foote (http://jovial.com)

Constructor Summary
MosaicsParser(SEShow show, Lexer lexer, ShowBuilder builder)
          Create a mosaic parser to parse a mosaic definition file at the given location.
 
Method Summary
 void parse()
          Parse a mosaics file, starting right after the "mosaics" keyword was read.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MosaicsParser

public MosaicsParser(SEShow show,
                     Lexer lexer,
                     ShowBuilder builder)
Create a mosaic parser to parse a mosaic definition file at the given location.

Parameters:
show - The show to populate. This should be a new, empty show.
lexer - The lexer to use
builder - The builder to use
Method Detail

parse

public void parse()
           throws java.io.IOException
Parse a mosaics file, starting right after the "mosaics" keyword was read.

Throws:
java.io.IOException