|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.util.help.HelpCategory avrora.core.ProgramReader avrora.syntax.gas.GASProgramReader
The GASProgramReader
is an implementation of the ProgramReader
that reads a
source program in the GAS-style syntax and builds a program from it.
Field Summary |
Fields inherited from class avrora.core.ProgramReader |
INDIRECT_EDGES, options |
Fields inherited from class avrora.util.help.HelpCategory |
COMPARATOR, help, name |
Constructor Summary | |
GASProgramReader()
|
Method Summary | |
Program |
read(java.lang.String[] args)
The read() method accepts a list of filenames as strings, loads them, resolves symbols,
and produces a simplified program. |
Methods inherited from class avrora.core.ProgramReader |
addIndirectEdges |
Methods inherited from class avrora.util.help.HelpCategory |
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GASProgramReader()
Method Detail |
public Program read(java.lang.String[] args) throws java.lang.Exception
read()
method accepts a list of filenames as strings, loads them, resolves symbols,
and produces a simplified program.
read
in class ProgramReader
args
- the string names of the files to load
ParseException
- if a parse error is encountered
java.io.IOException
- if there is a problem reading from one of the files
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |