avrora.syntax
Class AbstractParser

java.lang.Object
  extended byavrora.syntax.AbstractParser
Direct Known Subclasses:
AtmelParser, GASParser, ObjDumpParser

public abstract class AbstractParser
extends java.lang.Object

The AbstractParser is a superclass of all parsers introduced to give multiple JavaCC-generated parsers a parent class.


Field Summary
protected  Module module
          The module field stores a reference to the module that this parser is building.
 
Constructor Summary
AbstractParser()
           
 
Method Summary
abstract  void Module()
          The Module() method causes the parser to begin parsing the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

protected Module module
The module field stores a reference to the module that this parser is building.

Constructor Detail

AbstractParser

public AbstractParser()
Method Detail

Module

public abstract void Module()
                     throws AbstractParseException
The Module() method causes the parser to begin parsing the module.

Throws:
AbstractParseException - if the program does not parse correctly