Parserpublic final class FortranParser extends AbstractParser implements Parser
| Constructor | Description |
|---|---|
FortranParser() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFilename(String include) |
Called by FilenameState at completion of file name production.
|
String[] |
getIncludes() |
Gets collection of include file names encountered in parse.
|
AbstractParserState |
getNewLineState() |
Get the state for the beginning of a new line.
|
void |
parse(Reader reader) |
Collects all included files from the content of the reader.
|
public void addFilename(String include)
addFilename in class AbstractParserinclude - include file namepublic String[] getIncludes()
getIncludes in interface Parserpublic AbstractParserState getNewLineState()
getNewLineState in class AbstractParserpublic void parse(Reader reader) throws IOException
parse in interface Parserparse in class AbstractParserreader - character reader containing a FORTRAN source moduleIOException - throw if I/O error during parseCopyright © 2019 MojoHaus. All rights reserved.