Parserpublic final class FortranParser extends AbstractParser implements Parser
| Constructor | Description |
|---|---|
FortranParser() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFilename(java.lang.String include) |
Called by FilenameState at completion of file name production.
|
java.lang.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(java.io.Reader reader) |
Collects all included files from the content of the reader.
|
public void addFilename(java.lang.String include)
addFilename in class AbstractParserinclude - include file namepublic java.lang.String[] getIncludes()
getIncludes in interface Parserpublic AbstractParserState getNewLineState()
getNewLineState in class AbstractParserpublic void parse(java.io.Reader reader)
throws java.io.IOException
parse in interface Parserparse in class AbstractParserreader - character reader containing a FORTRAN source modulejava.io.IOException - throw if I/O error during parseCopyright ? 2001-2018 Ant-Contrib project. All Rights Reserved.